Class: Hashira::Analysis::Edge

Inherits:
Data
  • Object
show all
Defined in:
lib/hashira/analysis/edge.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fromObject (readonly)

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



5
6
7
# File 'lib/hashira/analysis/edge.rb', line 5

def from
  @from
end

#toObject (readonly)

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



5
6
7
# File 'lib/hashira/analysis/edge.rb', line 5

def to
  @to
end

Instance Method Details

#to_sObject



6
# File 'lib/hashira/analysis/edge.rb', line 6

def to_s = "#{from} -> #{to}"