Sha256: 949c910906c1983c008fc3362fdbd1387615064a3fe14183fcec3d280f1c082b

Contents?: true

Size: 304 Bytes

Versions: 175

Compression:

Stored size: 304 Bytes

Contents

require 'mspec/matchers/stringsymboladapter'

class MethodMatcher
  include StringSymbolAdapter

  def initialize(method, include_super=true)
    @include_super = include_super
    @method = convert_name method
  end

  def matches?(mod)
    raise Exception, "define #matches? in the subclass"
  end
end

Version data entries

175 entries across 151 versions & 4 rubygems

Version Path
rhodes-5.5.18 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-5.5.17 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-5.5.15 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-5.5.0.22 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-5.5.2 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-5.5.0.7 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-5.5.0.3 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-5.5.0 lib/extensions/mspec/mspec/matchers/method.rb
tauplatform-1.0.3 lib/extensions/mspec/mspec/matchers/method.rb
mspec-1.9.1 lib/mspec/matchers/method.rb
mspec-1.9.0 lib/mspec/matchers/method.rb
tauplatform-1.0.2 lib/extensions/mspec/mspec/matchers/method.rb
tauplatform-1.0.1 lib/extensions/mspec/mspec/matchers/method.rb
mspec-1.8.0 lib/mspec/matchers/method.rb
mspec-1.7.0 lib/mspec/matchers/method.rb
mspec-1.6.0 lib/mspec/matchers/method.rb
mspec-1.5.21 lib/mspec/matchers/method.rb
mspec-1.5.20 lib/mspec/matchers/method.rb
mspec-1.5.19 lib/mspec/matchers/method.rb
mspec-1.5.18 lib/mspec/matchers/method.rb