Class: Adhearsion::DialPlan::DialplanContextProc
- Defined in:
- lib/adhearsion/voip/dial_plan.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
- #+@ ⇒ Object
-
#initialize(name, &block) ⇒ DialplanContextProc
constructor
A new instance of DialplanContextProc.
Constructor Details
#initialize(name, &block) ⇒ DialplanContextProc
Returns a new instance of DialplanContextProc.
239 240 241 242 |
# File 'lib/adhearsion/voip/dial_plan.rb', line 239 def initialize(name, &block) super(&block) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
237 238 239 |
# File 'lib/adhearsion/voip/dial_plan.rb', line 237 def name @name end |
Instance Method Details
#+@ ⇒ Object
244 245 246 |
# File 'lib/adhearsion/voip/dial_plan.rb', line 244 def +@ raise Adhearsion::VoIP::DSL::Dialplan::ControlPassingException.new(self) end |