Class: Silicium::Graphs::Pair

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

Instance Attribute Summary collapse

Instance Attribute Details

#firstObject

Returns the value of attribute first

Returns:

  • (Object)

    the current value of first



7
8
9
# File 'lib/graph.rb', line 7

def first
  @first
end

#secondObject

Returns the value of attribute second

Returns:

  • (Object)

    the current value of second



7
8
9
# File 'lib/graph.rb', line 7

def second
  @second
end