Class: DAG::Edge

Inherits:
Struct
  • Object
show all
Defined in:
lib/simple_dag.rb

Instance Attribute Summary collapse

Instance Attribute Details

#destinationObject

Returns the value of attribute destination

Returns:

  • (Object)

    the current value of destination



6
7
8
# File 'lib/simple_dag.rb', line 6

def destination
  @destination
end

#originObject

Returns the value of attribute origin

Returns:

  • (Object)

    the current value of origin



6
7
8
# File 'lib/simple_dag.rb', line 6

def origin
  @origin
end

#propertiesObject

Returns the value of attribute properties

Returns:

  • (Object)

    the current value of properties



6
7
8
# File 'lib/simple_dag.rb', line 6

def properties
  @properties
end