Sha256: 33109aa57ac499329f7622ae07f8f552575ba397de429980c4092eaee73d5923

Contents?: true

Size: 164 Bytes

Versions: 100

Compression:

Stored size: 164 Bytes

Contents

class Regexp
  def wildcard_match?(other)
    return true if self == other
    return false unless other.is_a?(String)
    (other =~ self) ? true : false
  end
end

Version data entries

100 entries across 96 versions & 9 rubygems

Version Path
adva-0.2.4 test/rr/lib/rr/wildcard_matchers/regexp.rb
adva-0.2.3 test/rr/lib/rr/wildcard_matchers/regexp.rb
adva-0.2.2 test/rr/lib/rr/wildcard_matchers/regexp.rb
adva-0.2.1 test/rr/lib/rr/wildcard_matchers/regexp.rb
adva-0.2.0 test/rr/lib/rr/wildcard_matchers/regexp.rb
adva-0.1.4 test/rr/lib/rr/wildcard_matchers/regexp.rb
adva-0.1.3 test/rr/lib/rr/wildcard_matchers/regexp.rb
adva-0.1.2 test/rr/lib/rr/wildcard_matchers/regexp.rb
adva-0.1.1 test/rr/lib/rr/wildcard_matchers/regexp.rb
adva-0.1.0 test/rr/lib/rr/wildcard_matchers/regexp.rb
adva-0.0.1 test/rr/lib/rr/wildcard_matchers/regexp.rb
jferris-rr-0.7.1.0.1239654108 lib/rr/wildcard_matchers/regexp.rb
redinger-redinger-rr-0.10.3 lib/rr/wildcard_matchers/regexp.rb
redinger-rr-0.10.4 lib/rr/wildcard_matchers/regexp.rb
rr-1.0.5 lib/rr/wildcard_matchers/regexp.rb
rr-1.0.5.rc2 lib/rr/wildcard_matchers/regexp.rb
rr-1.0.5.rc1 lib/rr/wildcard_matchers/regexp.rb
bitclust-core-0.5.3 vendor/bundle/ruby/1.9.1/gems/bitclust-core-0.5.1/vendor/bundle/ruby/1.9.1/gems/rr-1.0.4/lib/rr/wildcard_matchers/regexp.rb
bitclust-core-0.5.3 vendor/bundle/ruby/1.9.1/gems/bitclust-core-0.5.3/vendor/bundle/ruby/1.9.1/gems/rr-1.0.4/lib/rr/wildcard_matchers/regexp.rb
bitclust-core-0.5.3 vendor/bundle/ruby/1.9.1/gems/rr-1.0.4/lib/rr/wildcard_matchers/regexp.rb