Class: Another::Options
- Inherits:
-
Object
- Object
- Another::Options
- Defined in:
- lib/another/options.rb
Instance Attribute Summary collapse
-
#project_name ⇒ Object
readonly
Returns the value of attribute project_name.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
-
#template ⇒ Object
readonly
Returns the value of attribute template.
Instance Method Summary collapse
-
#initialize(args) ⇒ Options
constructor
A new instance of Options.
Constructor Details
#initialize(args) ⇒ Options
Returns a new instance of Options.
8 9 10 11 |
# File 'lib/another/options.rb', line 8 def initialize(args) @args = args.dup process! end |
Instance Attribute Details
#project_name ⇒ Object (readonly)
Returns the value of attribute project_name.
6 7 8 |
# File 'lib/another/options.rb', line 6 def project_name @project_name end |
#target ⇒ Object (readonly)
Returns the value of attribute target.
6 7 8 |
# File 'lib/another/options.rb', line 6 def target @target end |
#template ⇒ Object (readonly)
Returns the value of attribute template.
6 7 8 |
# File 'lib/another/options.rb', line 6 def template @template end |