Class: ConventionalModels::Options
- Inherits:
-
Object
- Object
- ConventionalModels::Options
- Defined in:
- lib/conventional_models/options.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#output_help ⇒ Object
Returns the value of attribute output_help.
-
#output_version ⇒ Object
Returns the value of attribute output_version.
-
#skip_configure ⇒ Object
Returns the value of attribute skip_configure.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
Instance Method Summary collapse
-
#initialize ⇒ Options
constructor
A new instance of Options.
Constructor Details
#initialize ⇒ Options
Returns a new instance of Options.
5 6 7 8 9 10 11 12 |
# File 'lib/conventional_models/options.rb', line 5 def initialize @skip_configure = false @config = "config/database.yml" @environment = "development" @verbose = false @output_version = false @output_help = false end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
3 4 5 |
# File 'lib/conventional_models/options.rb', line 3 def config @config end |
#environment ⇒ Object
Returns the value of attribute environment.
3 4 5 |
# File 'lib/conventional_models/options.rb', line 3 def environment @environment end |
#output_help ⇒ Object
Returns the value of attribute output_help.
3 4 5 |
# File 'lib/conventional_models/options.rb', line 3 def output_help @output_help end |
#output_version ⇒ Object
Returns the value of attribute output_version.
3 4 5 |
# File 'lib/conventional_models/options.rb', line 3 def output_version @output_version end |
#skip_configure ⇒ Object
Returns the value of attribute skip_configure.
3 4 5 |
# File 'lib/conventional_models/options.rb', line 3 def skip_configure @skip_configure end |
#verbose ⇒ Object
Returns the value of attribute verbose.
3 4 5 |
# File 'lib/conventional_models/options.rb', line 3 def verbose @verbose end |