Class: Arel::Visitors::Dot::Edge

Inherits:
Struct show all
Defined in:
activerecord/lib/arel/visitors/dot.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#as_json

Instance Attribute Details

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



16
17
18
# File 'activerecord/lib/arel/visitors/dot.rb', line 16

def from
  @from
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



16
17
18
# File 'activerecord/lib/arel/visitors/dot.rb', line 16

def name
  @name
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



16
17
18
# File 'activerecord/lib/arel/visitors/dot.rb', line 16

def to
  @to
end