Class: Waxeye::Edge

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(trans, state, voided) ⇒ Edge

Returns a new instance of Edge.



28
29
30
31
32
# File 'lib/waxeye.rb', line 28

def initialize(trans, state, voided)
  @trans = trans
  @state = state
  @voided = voided
end

Instance Attribute Details

#stateObject (readonly)

Returns the value of attribute state.



27
28
29
# File 'lib/waxeye.rb', line 27

def state
  @state
end

#transObject (readonly)

Returns the value of attribute trans.



27
28
29
# File 'lib/waxeye.rb', line 27

def trans
  @trans
end

#voidedObject (readonly)

Returns the value of attribute voided.



27
28
29
# File 'lib/waxeye.rb', line 27

def voided
  @voided
end