Module: Labimotion::Screen
- Defined in:
- lib/labimotion/models/screen.rb
Class Method Summary collapse
-
.method_missing(method, *args, &block) ⇒ Object
Delegate class methods to ::Screen.
- .respond_to_missing?(method, include_private = false) ⇒ Boolean
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
Delegate class methods to ::Screen
24 25 26 27 28 29 30 |
# File 'lib/labimotion/models/screen.rb', line 24 def self.method_missing(method, *args, &block) if ::Screen.respond_to?(method) ::Screen.public_send(method, *args, &block) else super end end |
.respond_to_missing?(method, include_private = false) ⇒ Boolean
32 33 34 |
# File 'lib/labimotion/models/screen.rb', line 32 def self.respond_to_missing?(method, include_private = false) ::Screen.respond_to?(method, include_private) || super end |