Class: Gold::Coverage::Transition

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

Overview

Describes a transition between two states.

Instance Attribute Summary collapse

Instance Attribute Details

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



37
38
39
# File 'lib/gold/coverage.rb', line 37

def from
  @from
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



37
38
39
# File 'lib/gold/coverage.rb', line 37

def to
  @to
end