Module: Spreadsheet::Compatibility

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

Instance Method Summary collapse

Instance Method Details

#ivar_name(symbol) ⇒ Object


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

def ivar_name symbol
  :"@#{symbol}"
end

#method_name(symbol) ⇒ Object


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

def method_name symbol
  symbol.to_sym
end