Class: Fictive::Choice
- Inherits:
-
Object
- Object
- Fictive::Choice
- Defined in:
- lib/fictive/story.rb
Instance Method Summary collapse
-
#initialize(metadata) ⇒ Choice
constructor
A new instance of Choice.
- #path ⇒ Object
Constructor Details
#initialize(metadata) ⇒ Choice
Returns a new instance of Choice.
20 21 22 |
# File 'lib/fictive/story.rb', line 20 def initialize() @metadata = end |
Instance Method Details
#path ⇒ Object
24 25 26 |
# File 'lib/fictive/story.rb', line 24 def path @metadata.fetch(:path) end |