Sha256: 2f0092d1dfd67fc0eb3e71e03db13b50ce39bc1c8d76fc0470c9d37db71a99fd

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

module MixpanelMagicLamp
  class ConfigGenerator < Rails::Generators::Base
    source_root File.expand_path("../templates", __FILE__)

    desc "Generates the config initializer file for Mixpanel Magic Lamp options"
    def copy_initializer_file
      copy_file "mixpanel_magic_lamp.rb", "config/initializers/mixpanel_magic_lamp.rb"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mixpanel_magic_lamp-1.0.3 lib/generators/mixpanel_magic_lamp/config_generator.rb
mixpanel_magic_lamp-1.0.1 lib/generators/mixpanel_magic_lamp/config_generator.rb
mixpanel_magic_lamp-1.0.0 lib/generators/mixpanel_magic_lamp/config_generator.rb