Method: MTK::Core::Intensity#-

Defined in:
lib/mtk/core/intensity.rb

#-(intensity) ⇒ Object



117
118
119
120
121
122
123
# File 'lib/mtk/core/intensity.rb', line 117

def -intensity
  if intensity.is_a? MTK::Core::Intensity
    MTK::Core::Intensity[@value - intensity.value]
  else
    MTK::Core::Intensity[@value - intensity]
  end
end