Exception: Nite::Owl::Delay

Inherits:
Exception
  • Object
show all
Defined in:
lib/nite/owl/niteowl.rb

Overview

special exception thrown by delay method

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(time) ⇒ Delay

Returns a new instance of Delay.



194
195
196
# File 'lib/nite/owl/niteowl.rb', line 194

def initialize(time)
  @time = time
end

Instance Attribute Details

#timeObject

Returns the value of attribute time.



193
194
195
# File 'lib/nite/owl/niteowl.rb', line 193

def time
  @time
end