Class: Bparity::Formal::Transition

Inherits:
Struct
  • Object
show all
Defined in:
lib/bparity/formal/lts.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



29
30
31
# File 'lib/bparity/formal/lts.rb', line 29

def from
  @from
end

#inputObject

Returns the value of attribute input

Returns:

  • (Object)

    the current value of input



29
30
31
# File 'lib/bparity/formal/lts.rb', line 29

def input
  @input
end

#outputObject

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



29
30
31
# File 'lib/bparity/formal/lts.rb', line 29

def output
  @output
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



29
30
31
# File 'lib/bparity/formal/lts.rb', line 29

def to
  @to
end

Instance Method Details

#to_hObject



30
# File 'lib/bparity/formal/lts.rb', line 30

def to_h = { "from" => from, "input" => input, "output" => output, "to" => to }