Class: Cell
- Inherits:
-
Object
- Object
- Cell
- Defined in:
- lib/csv2hash/cell.rb
Instance Attribute Summary collapse
-
#rules ⇒ Object
Returns the value of attribute rules.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Cell
constructor
A new instance of Cell.
Constructor Details
#initialize(*args) ⇒ Cell
Returns a new instance of Cell.
7 8 9 |
# File 'lib/csv2hash/cell.rb', line 7 def initialize *args self.rules = args. end |
Instance Attribute Details
#rules ⇒ Object
Returns the value of attribute rules.
5 6 7 |
# File 'lib/csv2hash/cell.rb', line 5 def rules @rules end |