Class: Cell

Inherits:
Object
  • Object
show all
Defined in:
lib/csv2hash/cell.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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.extract_options!
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