Class: Waxeye::Edge
- Inherits:
-
Object
- Object
- Waxeye::Edge
- Defined in:
- lib/waxeye.rb
Instance Attribute Summary collapse
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#trans ⇒ Object
readonly
Returns the value of attribute trans.
-
#voided ⇒ Object
readonly
Returns the value of attribute voided.
Instance Method Summary collapse
-
#initialize(trans, state, voided) ⇒ Edge
constructor
A new instance of Edge.
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
#state ⇒ Object (readonly)
Returns the value of attribute state.
27 28 29 |
# File 'lib/waxeye.rb', line 27 def state @state end |
#trans ⇒ Object (readonly)
Returns the value of attribute trans.
27 28 29 |
# File 'lib/waxeye.rb', line 27 def trans @trans end |
#voided ⇒ Object (readonly)
Returns the value of attribute voided.
27 28 29 |
# File 'lib/waxeye.rb', line 27 def voided @voided end |