Class: Target
- Inherits:
-
Object
- Object
- Target
- Defined in:
- lib/project.rb
Instance Attribute Summary collapse
-
#config_files ⇒ Object
readonly
Returns the value of attribute config_files.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) {|_self| ... } ⇒ Target
constructor
A new instance of Target.
Constructor Details
#initialize(name) {|_self| ... } ⇒ Target
Returns a new instance of Target.
6 7 8 9 10 11 12 13 |
# File 'lib/project.rb', line 6 def initialize(name) @config_files = {} @name = name yield self end |
Instance Attribute Details
#config_files ⇒ Object (readonly)
Returns the value of attribute config_files.
4 5 6 |
# File 'lib/project.rb', line 4 def config_files @config_files end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/project.rb', line 3 def name @name end |