Class: Muack::Anything
Instance Attribute Summary
Attributes inherited from Satisfy
Instance Method Summary collapse
-
#initialize ⇒ Anything
constructor
A new instance of Anything.
Methods inherited from Satisfy
#&, #api_name, #match, #to_s, #|
Constructor Details
#initialize ⇒ Anything
Returns a new instance of Anything.
55 56 57 |
# File 'lib/muack/satisfy.rb', line 55 def initialize super lambda{ |_| true }, [] end |