Class: Symbolic::Operatable

Inherits:
Object
  • Object
show all
Defined in:
lib/symbolic/operatable.rb

Direct Known Subclasses

Expression, Method, UnaryMinus, Variable

Instance Method Summary collapse

Instance Method Details

#+@Object



7
8
9
# File 'lib/symbolic/operatable.rb', line 7

def +@
  self
end

#-@Object



3
4
5
# File 'lib/symbolic/operatable.rb', line 3

def -@
  UnaryMinus.create self
end