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-3.0.0.beta.1 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.4.1 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.4.1.beta.1 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.4.0 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.4.0.beta.2 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.4.0.beta.1 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.3.2 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.3.2.beta.2 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.3.2.beta.1 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.3.1 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.3.1.beta.1 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.3.0 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.3.0.beta.3 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.3.0.beta.2 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.3.0.beta.1 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.2.6 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.2.6.beta.1 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.2.5 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.2.5.beta.3 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-2.2.5.beta.2 lib/extensions/mspec/mspec/matchers/method.rb