Class: Rgviz::Cell

Inherits:
Object
  • Object
show all
Defined in:
lib/rgviz/table.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Cell

Returns a new instance of Cell.



54
55
56
57
58
# File 'lib/rgviz/table.rb', line 54

def initialize(attributes = {})
  attributes.each do |key, value|
    self.send "#{key}=", value
  end
end

Instance Attribute Details

#fObject

Returns the value of attribute f.



51
52
53
# File 'lib/rgviz/table.rb', line 51

def f
  @f
end

#pObject

Returns the value of attribute p.



52
53
54
# File 'lib/rgviz/table.rb', line 52

def p
  @p
end

#vObject

Returns the value of attribute v.



50
51
52
# File 'lib/rgviz/table.rb', line 50

def v
  @v
end