Method: Ua::Commands#context

Defined in:
lib/ua.rb

#context(obj, ctxt = Ua::Application.top.context, &b) ⇒ Object Also known as: view



352
353
354
355
356
357
358
359
360
# File 'lib/ua.rb', line 352

def context(obj, ctxt = Ua::Application.top.context, &b)
  Ua::Application.push(Ua::Application::ArgVoid, 
                       ctxt,   
                       self
                      )
  Ua::Application.top_app.context(obj, ctxt, &b)
ensure
  Ua::Application.pop
end