Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/formulae/run/excel_functions.rb
Instance Method Summary collapse
- #*(other) ⇒ Object
- #**(other) ⇒ Object
- #+(other) ⇒ Object
- #+@ ⇒ Object
- #-(other) ⇒ Object
- #-@ ⇒ Object
- #/(other) ⇒ Object
- #coerce(other) ⇒ Object
- #to_ruby(include_worksheet = false) ⇒ Object
Instance Method Details
#*(other) ⇒ Object
30 |
# File 'lib/formulae/run/excel_functions.rb', line 30 def *(other) self end |
#**(other) ⇒ Object
32 |
# File 'lib/formulae/run/excel_functions.rb', line 32 def **(other) self end |
#+(other) ⇒ Object
28 |
# File 'lib/formulae/run/excel_functions.rb', line 28 def +(other) self end |
#+@ ⇒ Object
22 |
# File 'lib/formulae/run/excel_functions.rb', line 22 def +@; self; end |
#-(other) ⇒ Object
29 |
# File 'lib/formulae/run/excel_functions.rb', line 29 def -(other) self end |
#-@ ⇒ Object
23 |
# File 'lib/formulae/run/excel_functions.rb', line 23 def -@; self; end |
#/(other) ⇒ Object
31 |
# File 'lib/formulae/run/excel_functions.rb', line 31 def /(other) self end |
#coerce(other) ⇒ Object
24 25 26 27 |
# File 'lib/formulae/run/excel_functions.rb', line 24 def coerce(other) return [other,self] if other.is_a?(Symbol) [self,self] end |
#to_ruby(include_worksheet = false) ⇒ Object
33 |
# File 'lib/formulae/run/excel_functions.rb', line 33 def to_ruby(include_worksheet = false); self; end |