Class: CHECKING::YOU::OUT::Species
- Inherits:
-
Struct
- Object
- Struct
- CHECKING::YOU::OUT::Species
- Defined in:
- lib/checking-you-out/inner_spirit.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Class Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
68 69 70 |
# File 'lib/checking-you-out/inner_spirit.rb', line 68 def name @name end |
#value ⇒ Object
Returns the value of attribute value
68 69 70 |
# File 'lib/checking-you-out/inner_spirit.rb', line 68 def value @value end |
Class Method Details
.from_string(param_string) ⇒ Object
69 70 71 |
# File 'lib/checking-you-out/inner_spirit.rb', line 69 def self.from_string(param_string) return self.new(*param_string.split(-?=)) end |