Sha256: c1b39b1ee974ca84d73242c9c5e9b42ec46e16716ae74161f812fcfbcc70b87c

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 Bytes

Contents

require 'rails/generators'
module Zetto
  class InstallGenerator < Rails::Generators::Base
    desc "Some description of my generator here"

    def self.source_root
      @source_root ||= File.join(File.dirname(__FILE__), 'templates')
    end

    def copy_initializer
      template "zetto.rb", "config/initializers/zetto.rb"
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zetto-2.2.0 lib/generators/zetto/install_generator.rb