Sha256: 2447bc4923c0ed7fb88bbb05d59b0ac6d2179a28ae982ce6744402dbb53094b5
Contents?: true
Size: 425 Bytes
Versions: 9
Compression:
Stored size: 425 Bytes
Contents
module DatePicker module Generators class ConfigGenerator < ::Rails::Generators::Base desc "Install DatePicker config" argument :style, type: :string, default: :bootstrap source_root File.expand_path('../templates', __FILE__) def create_config template 'config/date_picker.erb', "config/initializers/date_picker.rb", {style: self.style} end end end end
Version data entries
9 entries across 9 versions & 1 rubygems