Class: Neo4j::RSpec::Matchers::HasN::With::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/neo4j/rspec/matchers/has_n.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(expected) ⇒ Base

Returns a new instance of Base.



9
10
11
# File 'lib/neo4j/rspec/matchers/has_n.rb', line 9

def initialize(expected)
  @expected = expected
end

Instance Attribute Details

#expectedObject (readonly)

Returns the value of attribute expected.



7
8
9
# File 'lib/neo4j/rspec/matchers/has_n.rb', line 7

def expected
  @expected
end