Module: Kernel

Defined in:
lib/platypus/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#case?(*matchers) ⇒ Boolean

Dor all matchers === this object.



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

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