class Fear::Extractor::ArrayHeadMatcher
Part of recursive array matcher. Match against its head. @see ArrayMatcher
Public Instance Methods
bindings(other)
click to toggle source
@param other [<>]
Calls superclass method
# File lib/fear/extractor/array_head_matcher.rb, line 23 def bindings(other) if other.empty? super else matcher.bindings(other.first) end end
defined_at?(other)
click to toggle source
@param other [<>]
# File lib/fear/extractor/array_head_matcher.rb, line 14 def defined_at?(other) if other.empty? false else matcher.defined_at?(other.first) end end
failure_reason(other)
click to toggle source
# File lib/fear/extractor/array_head_matcher.rb, line 31 def failure_reason(other) matcher.failure_reason(other.first) end