Class: Lanes::GuardTasks::CustomMatchers
- Inherits:
-
Object
- Object
- Lanes::GuardTasks::CustomMatchers
- Defined in:
- lib/lanes/guard_tasks.rb
Instance Attribute Summary collapse
-
#client_matches ⇒ Object
readonly
Returns the value of attribute client_matches.
-
#server_matches ⇒ Object
readonly
Returns the value of attribute server_matches.
Instance Method Summary collapse
Instance Attribute Details
#client_matches ⇒ Object (readonly)
Returns the value of attribute client_matches.
9 10 11 |
# File 'lib/lanes/guard_tasks.rb', line 9 def client_matches @client_matches end |
#server_matches ⇒ Object (readonly)
Returns the value of attribute server_matches.
9 10 11 |
# File 'lib/lanes/guard_tasks.rb', line 9 def server_matches @server_matches end |
Instance Method Details
#client(&block) ⇒ Object
11 12 13 |
# File 'lib/lanes/guard_tasks.rb', line 11 def client(&block) @client_matches = block end |
#server(&block) ⇒ Object
14 15 16 |
# File 'lib/lanes/guard_tasks.rb', line 14 def server(&block) @server_matches = block end |