Sha256: 29ab0418182853a89bff2f393fd65d14e90c6111702f3af89ac311f5646bdf25
Contents?: true
Size: 350 Bytes
Versions: 2
Compression:
Stored size: 350 Bytes
Contents
# frozen_string_literal: true require "rails/generators/base" module Columnify module Generators class InstallGenerator < Rails::Generators::Base def register_mime_type append_to_file "config/initializers/mime_types.rb", %Q{Mime::Type.register "#{Columnify::Mime::XLS}", :xls} end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
columnify-0.1.1 | lib/generators/columnify/install_generator.rb |
columnify-0.1.0 | lib/generators/columnify/install_generator.rb |