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