Method: Toji::Recipe::Step#*

Defined in:
lib/toji/recipe/step.rb

#*(other) ⇒ Object



193
194
195
196
197
198
199
200
# File 'lib/toji/recipe/step.rb', line 193

def *(other)
  if Integer===other || Float===other
    scale(other)
  else
    x, y = other.coerce(self)
    x * y
  end
end