class ThatArg
Public Class Methods
new(&blk)
click to toggle source
# File lib/arg_that/that_arg.rb, line 2 def initialize(&blk) @blk = blk end
Public Instance Methods
==(other)
click to toggle source
# File lib/arg_that/that_arg.rb, line 6 def ==(other) @blk.call(other) end