Class: GlooLang::Core::It

Inherits:
Object
  • Object
show all
Defined in:
lib/gloo_lang/core/it.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeIt

Set up the object.



16
17
18
# File 'lib/gloo_lang/core/it.rb', line 16

def initialize
  @value = nil
end

Instance Attribute Details

#valueObject

Returns the value of attribute value.



11
12
13
# File 'lib/gloo_lang/core/it.rb', line 11

def value
  @value
end

Instance Method Details

#set_to(new_value) ⇒ Object

Set the value of it.



23
24
25
# File 'lib/gloo_lang/core/it.rb', line 23

def set_to( new_value )
  @value = new_value
end

#to_sObject

Get the string representation of it.



30
31
32
# File 'lib/gloo_lang/core/it.rb', line 30

def to_s
  return @value.to_s
end