Sha256: 56f593f4ae0dd86ab669adf18ffb81751fd244769ef67589db87cdce45f4d760
Contents?: true
Size: 425 Bytes
Versions: 3
Compression:
Stored size: 425 Bytes
Contents
require 'rails/generators/base' module Nifty module Generators class Base < Rails::Generators::Base #:nodoc: def self.source_root @_nifty_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'nifty', generator_name, 'templates')) end def self.banner "#{$0} nifty:#{generator_name} #{self.arguments.map{ |a| a.usage }.join(' ')} [options]" end end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
corntrace-nifty-generators-0.4.1 | lib/generators/nifty.rb |
corntrace-nifty-generators-0.4.0 | lib/generators/nifty.rb |
nifty-generators-0.4.0 | lib/generators/nifty.rb |