Sha256: 5ff48b42fdaab742d1428ae814ddf128f99275244408f297e2ce8a3c8f04326f

Contents?: true

Size: 197 Bytes

Versions: 1

Compression:

Stored size: 197 Bytes

Contents

module Bacon
  module Matchers

    ##
    #
    def be_a( klass )
      lambda { |obj| obj.is_a?( klass ) }
    end
    alias :be_an :be_a
  end
end

Bacon::Context.send :include, Bacon::Matchers

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lotion-0.1.0 spec/helpers/matchers.rb