Sha256: 6119d8b34fa8aff3d7b1c38053b1a3287179000ddb9871917de76ebe5ed44392
Contents?: true
Size: 554 Bytes
Versions: 5
Compression:
Stored size: 554 Bytes
Contents
module Omniship module Generators class SetupGenerator < Rails::Generators::Base desc 'Creates a Omniship gem configuration file at config/omniship.yml, and an initializer at config/initializers/omniship.rb' def self.source_root @_omniship_source_root ||= File.expand_path("../templates", __FILE__) end def create_config_file template 'omniship.yml', File.join('config', 'omniship.yml') end def create_initializer_file template 'initializer.rb', File.join('config', 'initializers', 'omniship.rb') end end end end
Version data entries
5 entries across 5 versions & 1 rubygems