Class: UIViewController

Inherits:
Object show all
Defined in:
motion/ext.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) rmq(*selectors)

end



60
61
62
63
64
65
66
67
68
# File 'motion/ext.rb', line 60

def rmq(*selectors)
  crmq = (rmq_data.cached_rmq ||= RubyMotionQuery::RMQ.create_with_selectors([], self))

  if selectors.length == 0
    crmq
  else
    RubyMotionQuery::RMQ.create_with_selectors(selectors, self, crmq)
  end
end

- (Object) rmq_data



70
71
72
# File 'motion/ext.rb', line 70

def rmq_data
  @_rmq_data ||= RubyMotionQuery::ControllerData.new
end