Class: Phoenx::Scheme
- Inherits:
-
Object
- Object
- Phoenx::Scheme
- Defined in:
- lib/phoenx/entities/scheme.rb
Instance Attribute Summary collapse
-
#archive_configuration ⇒ Object
Returns the value of attribute archive_configuration.
-
#launch_configuration ⇒ Object
Returns the value of attribute launch_configuration.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, block) ⇒ Scheme
constructor
A new instance of Scheme.
Constructor Details
#initialize(name, block) ⇒ Scheme
Returns a new instance of Scheme.
8 9 10 11 |
# File 'lib/phoenx/entities/scheme.rb', line 8 def initialize(name, block) @name = name self.instance_eval(&block) end |
Instance Attribute Details
#archive_configuration ⇒ Object
Returns the value of attribute archive_configuration.
5 6 7 |
# File 'lib/phoenx/entities/scheme.rb', line 5 def archive_configuration @archive_configuration end |
#launch_configuration ⇒ Object
Returns the value of attribute launch_configuration.
6 7 8 |
# File 'lib/phoenx/entities/scheme.rb', line 6 def launch_configuration @launch_configuration end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/phoenx/entities/scheme.rb', line 4 def name @name end |