Sha256: c0d93c8a8acdfe5772fc7876a7bdbbd753d888cb7e866131db0a8d69c5e24717

Contents?: true

Size: 114 Bytes

Versions: 47

Compression:

Stored size: 114 Bytes

Contents

RSpec::Matchers.define :inherit_from do |parent|
  match do |klass|
    klass.ancestors.include?(parent)
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
api_client-0.6.0-java spec/support/matchers.rb
api_client-0.6.0 spec/support/matchers.rb
api_client-0.5.26-java spec/support/matchers.rb
api_client-0.5.26 spec/support/matchers.rb
api_client-0.5.25-java spec/support/matchers.rb
api_client-0.5.25 spec/support/matchers.rb
api_client-0.5.24 spec/support/matchers.rb
api_client-0.5.22 spec/support/matchers.rb
api_client-0.5.21 spec/support/matchers.rb
api_client-0.5.20 spec/support/matchers.rb
api_client-0.5.19 spec/support/matchers.rb
api_client-0.5.18 spec/support/matchers.rb
api_client-0.5.17 spec/support/matchers.rb
api_client-0.5.16 spec/support/matchers.rb
api_client-0.5.15 spec/support/matchers.rb
api_client-0.5.14 spec/support/matchers.rb
api_client-0.5.13 spec/support/matchers.rb
api_client-0.5.12 spec/support/matchers.rb
api_client-0.5.11 spec/support/matchers.rb
api_client-0.5.9 spec/support/matchers.rb