Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/project/ext/object.rb
Instance Method Summary collapse
- #app ⇒ Object
- #blank? ⇒ Boolean
- #device ⇒ Object
-
#find(*args) ⇒ Object
Do not alias this, strange bugs happen where classes don’t have methods.
- #find!(*args) ⇒ Object
- #screen ⇒ Object
Instance Method Details
#app ⇒ Object
3 4 5 |
# File 'lib/project/ext/object.rb', line 3 def app rmq.app end |
#blank? ⇒ Boolean
11 12 13 |
# File 'lib/project/ext/object.rb', line 11 def blank? self.respond_to?(:empty?) ? self.empty? : !self end |
#device ⇒ Object
7 8 9 |
# File 'lib/project/ext/object.rb', line 7 def device rmq.device end |
#find(*args) ⇒ Object
Do not alias this, strange bugs happen where classes don’t have methods
15 16 17 |
# File 'lib/project/ext/object.rb', line 15 def find(*args) # Do not alias this, strange bugs happen where classes don't have methods rmq(*args) end |
#find!(*args) ⇒ Object
19 20 21 |
# File 'lib/project/ext/object.rb', line 19 def find!(*args) rmq(*args).get end |
#screen ⇒ Object
23 24 25 |
# File 'lib/project/ext/object.rb', line 23 def screen rmq.screen end |