Class: Coopy::SimpleCell
- Inherits:
-
Object
- Object
- Coopy::SimpleCell
- Defined in:
- lib/lib/coopy/simple_cell.rb
Instance Method Summary collapse
-
#initialize(x) ⇒ SimpleCell
constructor
A new instance of SimpleCell.
- #to_s ⇒ Object
Constructor Details
#initialize(x) ⇒ SimpleCell
Returns a new instance of SimpleCell.
7 8 9 |
# File 'lib/lib/coopy/simple_cell.rb', line 7 def initialize(x) @datum = x end |
Instance Method Details
#to_s ⇒ Object
17 18 19 |
# File 'lib/lib/coopy/simple_cell.rb', line 17 def to_s return @datum end |