module ArgThat

Constants

VERSION

Public Class Methods

included(includer) click to toggle source
# File lib/arg_that.rb, line 9
def self.included(includer)
  if defined?(RSpec) && includer.ancestors.include?(RSpec::Core::ExampleGroup)
    require "arg_that/eqish"
  end
end

Public Instance Methods

arg_that(&blk) click to toggle source
# File lib/arg_that.rb, line 5
def arg_that(&blk)
  ThatArg.new(&blk)
end