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.1.0.beta.3 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.1.0.beta.2 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.1.0.beta.1 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.2 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.2.beta.1 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.1 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.1.beta.8 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.1.beta.7 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.1.beta.6 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.1.beta.5 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.1.beta.4 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.1.beta.3 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.1.beta.2 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.0 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.0.beta.7 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.0.beta.6 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.0.beta.5 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.0.beta.4 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.0.beta.3 lib/extensions/mspec/mspec/matchers/method.rb
rhodes-3.0.0.beta.2 lib/extensions/mspec/mspec/matchers/method.rb