Module: Spreadsheet::Compatibility

Included in:
Datatypes, Excel::Offset
Defined in:
lib/spreadsheet/compatibility.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) ivar_name(symbol)



8
9
10
# File 'lib/spreadsheet/compatibility.rb', line 8

def ivar_name symbol
  :@#{symbol}"
end

- (Object) method_name(symbol)



11
12
13
# File 'lib/spreadsheet/compatibility.rb', line 11

def method_name symbol
  symbol.to_sym
end