Class: Hecks::QuerySpecification::HopPath::Plan

Inherits:
Struct
  • Object
show all
Defined in:
lib/hecks/query_specification/hop_path.rb

Overview

refusal: nil (clean), :unresolvable (a hop's target cannot be found — cross-domain, or simply not declared in this chapter), :too_deep (see MAX_HOPS below).

Instance Attribute Summary collapse

Instance Attribute Details

#hopsObject

Returns the value of attribute hops

Returns:

  • (Object)

    the current value of hops



35
36
37
# File 'lib/hecks/query_specification/hop_path.rb', line 35

def hops
  @hops
end

#refusalObject

Returns the value of attribute refusal

Returns:

  • (Object)

    the current value of refusal



35
36
37
# File 'lib/hecks/query_specification/hop_path.rb', line 35

def refusal
  @refusal
end

#tailObject

Returns the value of attribute tail

Returns:

  • (Object)

    the current value of tail



35
36
37
# File 'lib/hecks/query_specification/hop_path.rb', line 35

def tail
  @tail
end