Module: Ore::Options
- Included in:
- Generator
- Defined in:
- lib/ore/options.rb
Overview
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- DEFAULT_VERSION =
Default version
'0.1.0'
- DEFAULT_SUMMARY =
Default summary
%q{TODO: Summary}
- DEFAULT_DESCRIPTION =
Default description
%q{TODO: Description}
- DEFAULT_LICENSE =
Default License
'MIT'
Class Method Summary collapse
-
.defaults ⇒ Hash{Symbol => Object}
Default options for the generator.
- .included(base) ⇒ Object
Class Method Details
.defaults ⇒ Hash{Symbol => Object}
Default options for the generator.
33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/ore/options.rb', line 33 def self.defaults @@defaults ||= { :templates => [], :version => DEFAULT_VERSION, :summary => DEFAULT_SUMMARY, :description => DEFAULT_DESCRIPTION, :license => DEFAULT_LICENSE, :gemspec => true, :rubygems_tasks => true, :rdoc => true, :rspec => true, :git => true }.merge(Config.) end |
.included(base) ⇒ Object
23 24 25 |
# File 'lib/ore/options.rb', line 23 def self.included(base) base.extend ClassMethods end |