Class: Bcome::Node::Platform
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, #interactive, #method_missing, #run, #set_parent_reference, #set_stack_peer
Methods included from CommandHelper
Constructor Details
This class inherits a constructor from Bcome::Node::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Bcome::Node::Base
Instance Method Details
#identifier ⇒ Object
8 9 10 |
# File 'lib/nodes/platform.rb', line 8 def identifier name end |
#machines ⇒ Object
4 5 6 |
# File 'lib/nodes/platform.rb', line 4 def machines environments.collect(&:machines).flatten end |
#namespace ⇒ Object
12 13 14 |
# File 'lib/nodes/platform.rb', line 12 def namespace "#{estate.namespace}/#{identifier}" end |