Sha256: 4c9e0124f2d5adc61e9ad221ad92dd006eacd39133993006921578ad9e5fdb3a

Contents?: true

Size: 343 Bytes

Versions: 12

Compression:

Stored size: 343 Bytes

Contents

module Yoti
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path('./templates', __dir__)

      desc 'This generator creates an Yoti initializer file at config/initializers'

      def copy_initializer
        template 'yoti.rb', 'config/initializers/yoti.rb'
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
yoti-1.10.0 lib/generators/yoti/install/install_generator.rb
yoti-1.9.0 lib/generators/yoti/install/install_generator.rb
yoti-1.8.0 lib/generators/yoti/install/install_generator.rb
yoti-1.7.1 lib/generators/yoti/install/install_generator.rb
yoti-1.7.0 lib/generators/yoti/install/install_generator.rb
yoti-1.6.4 lib/generators/yoti/install/install_generator.rb
yoti-1.6.3 lib/generators/yoti/install/install_generator.rb
yoti-1.6.2 lib/generators/yoti/install/install_generator.rb
yoti-1.6.1 lib/generators/yoti/install/install_generator.rb
yoti-1.6.0 lib/generators/yoti/install/install_generator.rb
yoti-1.5.0 lib/generators/yoti/install/install_generator.rb
yoti-1.4.0 lib/generators/yoti/install/install_generator.rb