Class: Hippo::GuardTasks::CustomMatchers

Inherits:
Object
  • Object
show all
Defined in:
lib/hippo/guard_tasks.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#client_matchesObject (readonly)

Returns the value of attribute client_matches


12
13
14
# File 'lib/hippo/guard_tasks.rb', line 12

def client_matches
  @client_matches
end

#server_matchesObject (readonly)

Returns the value of attribute server_matches


12
13
14
# File 'lib/hippo/guard_tasks.rb', line 12

def server_matches
  @server_matches
end

Instance Method Details

#client(&block) ⇒ Object


14
15
16
# File 'lib/hippo/guard_tasks.rb', line 14

def client(&block)
    @client_matches = block
end

#server(&block) ⇒ Object


17
18
19
# File 'lib/hippo/guard_tasks.rb', line 17

def server(&block)
    @server_matches = block
end