class WarnHigh

Public Instance Methods

update(time, price) click to toggle source
# File vendor/qwik/lib/qwik/check-observer.rb, line 51
def update(time, price)       # callback for observer
  if price > @limit
    print "+++ #{time.to_s}: Price above #@limit: #{price}\n"
  end
end