Class: Plumbing::Operation::Generator::Edge

Inherits:
Struct
  • Object
show all
Defined in:
lib/plumbing/operation/generator.rb

Overview

label nil = unlabelled

Instance Attribute Summary collapse

Instance Attribute Details

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



11
12
13
# File 'lib/plumbing/operation/generator.rb', line 11

def from
  @from
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



11
12
13
# File 'lib/plumbing/operation/generator.rb', line 11

def label
  @label
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



11
12
13
# File 'lib/plumbing/operation/generator.rb', line 11

def to
  @to
end