Class: Adhearsion::DialPlan::DialplanContextProc

Inherits:
Proc
  • Object
show all
Defined in:
lib/adhearsion/voip/dial_plan.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, &block) ⇒ DialplanContextProc

Returns a new instance of DialplanContextProc.



226
227
228
229
# File 'lib/adhearsion/voip/dial_plan.rb', line 226

def initialize(name, &block)
  super(&block)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



224
225
226
# File 'lib/adhearsion/voip/dial_plan.rb', line 224

def name
  @name
end

Instance Method Details

#+@Object



231
232
233
# File 'lib/adhearsion/voip/dial_plan.rb', line 231

def +@
  raise Adhearsion::VoIP::DSL::Dialplan::ControlPassingException.new(self)
end