Sha256: 17a258223cfab9db1bba946a4340d14aad5baae692ecc2f139b92ac02d3338bf

Contents?: true

Size: 345 Bytes

Versions: 9

Compression:

Stored size: 345 Bytes

Contents

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

      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

9 entries across 9 versions & 1 rubygems

Version Path
yoti-1.3.1 lib/generators/yoti/install/install_generator.rb
yoti-1.3.0 lib/generators/yoti/install/install_generator.rb
yoti-1.2.1 lib/generators/yoti/install/install_generator.rb
yoti-1.2.0 lib/generators/yoti/install/install_generator.rb
yoti-1.1.0 lib/generators/yoti/install/install_generator.rb
yoti-1.0.3 lib/generators/yoti/install/install_generator.rb
yoti-1.0.2 lib/generators/yoti/install/install_generator.rb
yoti-1.0.1 lib/generators/yoti/install/install_generator.rb
yoti-1.0.0 lib/generators/yoti/install/install_generator.rb