Class: Mal::SatisfyingT
Instance Method Summary collapse
-
#initialize(&blk) ⇒ SatisfyingT
constructor
A new instance of SatisfyingT.
- #inspect ⇒ Object
Methods inherited from OnlyT
Constructor Details
#initialize(&blk) ⇒ SatisfyingT
Returns a new instance of SatisfyingT.
282 283 284 |
# File 'lib/mal.rb', line 282 def initialize(&blk) super(blk.to_proc) # Use an OnlyT since Proc objects support === end |
Instance Method Details
#inspect ⇒ Object
285 |
# File 'lib/mal.rb', line 285 def inspect; 'Satisfying(&blk)'; end |