Class: Rundock::Target::Base
Constant Summary collapse
- TargetNotImplementedError =
Class.new(NotImplementedError)
Instance Attribute Summary collapse
-
#contents ⇒ Object
readonly
Returns the value of attribute contents.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#parsed_options ⇒ Object
readonly
Returns the value of attribute parsed_options.
Instance Method Summary collapse
- #create_nodes(target_info = {}, options = {}) ⇒ Object
-
#initialize(name, contents = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(name, contents = {}) ⇒ Base
10 11 12 13 14 |
# File 'lib/rundock/target/base.rb', line 10 def initialize(name, contents = {}) @name = name @contents = contents = {} end |
Instance Attribute Details
#contents ⇒ Object (readonly)
Returns the value of attribute contents.
7 8 9 |
# File 'lib/rundock/target/base.rb', line 7 def contents @contents end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/rundock/target/base.rb', line 6 def name @name end |
#parsed_options ⇒ Object (readonly)
Returns the value of attribute parsed_options.
8 9 10 |
# File 'lib/rundock/target/base.rb', line 8 def end |
Instance Method Details
#create_nodes(target_info = {}, options = {}) ⇒ Object
16 17 18 |
# File 'lib/rundock/target/base.rb', line 16 def create_nodes(target_info = {}, = {}) raise TargetNotImplementedError end |