Method: Gruesome::Machine#initialize
- Defined in:
- lib/gruesome/machine.rb
#initialize(story_file) ⇒ Machine
Returns a new instance of Machine.
5 6 7 8 9 10 11 |
# File 'lib/gruesome/machine.rb', line 5 def initialize(story_file) # Later, detect the type # # For now, assume Z-Machine @machine = Z::Machine.new(story_file) end |