Class: Cyrel::Plus
- Inherits:
-
Object
- Object
- Cyrel::Plus
- Defined in:
- lib/cyrel/plus.rb
Instance Attribute Summary collapse
-
#variable ⇒ Object
readonly
Returns the value of attribute variable.
Instance Method Summary collapse
-
#initialize(variable) ⇒ Plus
constructor
A new instance of Plus.
Constructor Details
#initialize(variable) ⇒ Plus
Returns a new instance of Plus.
7 8 9 |
# File 'lib/cyrel/plus.rb', line 7 def initialize(variable) @variable = variable end |
Instance Attribute Details
#variable ⇒ Object (readonly)
Returns the value of attribute variable.
5 6 7 |
# File 'lib/cyrel/plus.rb', line 5 def variable @variable end |