Module: Moto::ForwardContextMethods
- Included in:
- Clients::Base, Page, Test
- Defined in:
- lib/forward_context_methods.rb
Instance Method Summary collapse
Instance Method Details
#client(name) ⇒ Object
4 5 6 |
# File 'lib/forward_context_methods.rb', line 4 def client(name) @context.client(name) end |
#const(key) ⇒ Object
12 13 14 |
# File 'lib/forward_context_methods.rb', line 12 def const(key) @context.const(key) end |
#current_test ⇒ Object
16 17 18 |
# File 'lib/forward_context_methods.rb', line 16 def current_test @context.current_test end |
#logger ⇒ Object
8 9 10 |
# File 'lib/forward_context_methods.rb', line 8 def logger @context.logger end |