Method: Pask::Event#-
- Defined in:
- lib/pask/event.rb
#-(other) ⇒ Object
90 91 92 93 94 95 |
# File 'lib/pask/event.rb', line 90 def -(other) unless other.respond_to?(:to_f) raise TypeError, "cannot coerce argument to a float" end to_f - other.to_f end |