Class: Coopy::SimpleCell

Inherits:
Object
  • Object
show all
Defined in:
lib/lib/coopy/simple_cell.rb

Instance Method Summary collapse

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_sObject



17
18
19
# File 'lib/lib/coopy/simple_cell.rb', line 17

def to_s 
  return @datum
end