dialogue.rb: Move assignments into initialize
This commit is contained in:
parent
4c726b079d
commit
1c6206c3cd
1 changed files with 3 additions and 3 deletions
|
@ -9,9 +9,9 @@ module Dialogue
|
|||
# Status of verbose/debug mode. True = on; false = off.
|
||||
attr_accessor :debug
|
||||
|
||||
def initialize
|
||||
@file = ""
|
||||
@debug = false
|
||||
def initialize(file="", debug=false)
|
||||
@file = file
|
||||
@debug = debug
|
||||
end
|
||||
|
||||
# Conversation handles navigating the tree, until the option to end is
|
||||
|
|
Loading…
Reference in a new issue