Class: Checked::Demand

Inherits:
Object show all
Defined in:
lib/Checked/Demand/Demand.rb

Constant Summary collapse

Failed =
Class.new(RuntimeError)

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Demand

Returns a new instance of Demand.



6
7
8
# File 'lib/Checked/Demand/Demand.rb', line 6

def initialize *args
  raise "Demand not allowed to be used."
end