Sha256: e33f234bb443687350de75b520debdb4a381ae613da92660ff4ddeb82a5e28fb
Contents?: true
Size: 402 Bytes
Versions: 2
Compression:
Stored size: 402 Bytes
Contents
require 'rails/generators/base' module SimpleSwitch module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../../templates', __FILE__) desc 'Copy initializer file simple_switch.rb to config/initializers.' def copy_initializer copy_file 'simple_switch.rb', 'config/initializers/simple_switch.rb' end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simple_switch-0.2.0 | lib/generators/simple_switch/install_generator.rb |
simple_switch-0.1.0 | lib/generators/simple_switch/install_generator.rb |