Class: Fictive::Choice
- Inherits:
-
Object
- Object
- Fictive::Choice
- Defined in:
- lib/fictive/choice.rb
Instance Method Summary collapse
- #id ⇒ Object
-
#initialize(edge) ⇒ Choice
constructor
A new instance of Choice.
Constructor Details
#initialize(edge) ⇒ Choice
Returns a new instance of Choice.
3 4 5 |
# File 'lib/fictive/choice.rb', line 3 def initialize(edge) @edge = edge end |
Instance Method Details
#id ⇒ Object
7 8 9 |
# File 'lib/fictive/choice.rb', line 7 def id @edge.id end |