Module: Kernel

Defined in:
lib/platypus/core_ext.rb

Instance Method Summary (collapse)

Instance Method Details

- (Boolean) case?(*matchers)



3
4
5
# File 'lib/platypus/core_ext.rb', line 3

def case?(*matchers)
  matchers.all?{ |m| m === self }
end