Class: ROX::Column
- Inherits:
-
Object
- Object
- ROX::Column
- Defined in:
- lib/rox/rox.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#number ⇒ Object
Returns the value of attribute number.
-
#options ⇒ Object
Returns the value of attribute options.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
- #from_ox(client, value) ⇒ Object
-
#initialize(number, name, type, options = nil) ⇒ Column
constructor
A new instance of Column.
- #to_ox(client, value) ⇒ Object
Constructor Details
#initialize(number, name, type, options = nil) ⇒ Column
Returns a new instance of Column.
7 8 9 10 11 12 |
# File 'lib/rox/rox.rb', line 7 def initialize(number, name, type, = nil) @number = number @name = name @type = type @options = end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/rox/rox.rb', line 5 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
5 6 7 |
# File 'lib/rox/rox.rb', line 5 def number @number end |
#options ⇒ Object
Returns the value of attribute options.
5 6 7 |
# File 'lib/rox/rox.rb', line 5 def @options end |
#type ⇒ Object
Returns the value of attribute type.
5 6 7 |
# File 'lib/rox/rox.rb', line 5 def type @type end |
Instance Method Details
#from_ox(client, value) ⇒ Object
18 19 20 |
# File 'lib/rox/rox.rb', line 18 def from_ox(client, value) value end |
#to_ox(client, value) ⇒ Object
14 15 16 |
# File 'lib/rox/rox.rb', line 14 def to_ox(client, value) value end |