Class: CFoundry::V1::Runtime
- Inherits:
-
Object
- Object
- CFoundry::V1::Runtime
- Defined in:
- lib/cfoundry/v1/runtime.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#debug_modes ⇒ Object
Returns the value of attribute debug_modes.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#series ⇒ Object
Returns the value of attribute series.
-
#status ⇒ Object
Returns the value of attribute status.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
- #apps ⇒ Object
- #eql?(other) ⇒ Boolean (also: #==)
-
#initialize(name, description = nil, debug_modes = nil, version = nil, status = nil, series = nil, category = nil) ⇒ Runtime
constructor
A new instance of Runtime.
Constructor Details
#initialize(name, description = nil, debug_modes = nil, version = nil, status = nil, series = nil, category = nil) ⇒ Runtime
Returns a new instance of Runtime.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/cfoundry/v1/runtime.rb', line 6 def initialize(name, description = nil, debug_modes = nil, version = nil, status = nil, series = nil, category = nil) @name = name @description = description @debug_modes = debug_modes @version = version @status = status @series = series @category = category end |
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category.
3 4 5 |
# File 'lib/cfoundry/v1/runtime.rb', line 3 def category @category end |
#debug_modes ⇒ Object
Returns the value of attribute debug_modes.
3 4 5 |
# File 'lib/cfoundry/v1/runtime.rb', line 3 def debug_modes @debug_modes end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/cfoundry/v1/runtime.rb', line 3 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/cfoundry/v1/runtime.rb', line 3 def name @name end |
#series ⇒ Object
Returns the value of attribute series.
3 4 5 |
# File 'lib/cfoundry/v1/runtime.rb', line 3 def series @series end |
#status ⇒ Object
Returns the value of attribute status.
3 4 5 |
# File 'lib/cfoundry/v1/runtime.rb', line 3 def status @status end |
#version ⇒ Object
Returns the value of attribute version.
3 4 5 |
# File 'lib/cfoundry/v1/runtime.rb', line 3 def version @version end |
Instance Method Details
#apps ⇒ Object
23 24 25 |
# File 'lib/cfoundry/v1/runtime.rb', line 23 def apps [] # not supported by v1 end |
#eql?(other) ⇒ Boolean Also known as: ==
18 19 20 |
# File 'lib/cfoundry/v1/runtime.rb', line 18 def eql?(other) other.is_a?(self.class) && other.name == @name end |