Class: Gloo::Core::It
- Inherits:
-
Object
- Object
- Gloo::Core::It
- Defined in:
- lib/gloo/core/it.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize ⇒ It
constructor
Set up the object.
-
#is_function? ⇒ Boolean
Is this a function object?.
-
#set_to(new_value) ⇒ Object
Set the value of it.
-
#to_s ⇒ Object
Get the string representation of it.
Constructor Details
#initialize ⇒ It
Set up the object.
16 17 18 |
# File 'lib/gloo/core/it.rb', line 16 def initialize @value = nil end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
11 12 13 |
# File 'lib/gloo/core/it.rb', line 11 def value @value end |
Instance Method Details
#is_function? ⇒ Boolean
Is this a function object?
37 38 39 |
# File 'lib/gloo/core/it.rb', line 37 def is_function? return false end |
#set_to(new_value) ⇒ Object
Set the value of it.
23 24 25 |
# File 'lib/gloo/core/it.rb', line 23 def set_to( new_value ) @value = new_value end |
#to_s ⇒ Object
Get the string representation of it.
30 31 32 |
# File 'lib/gloo/core/it.rb', line 30 def to_s return @value.to_s end |