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.
|
# Status of verbose/debug mode. True = on; false = off.
|
||||||
attr_accessor :debug
|
attr_accessor :debug
|
||||||
|
|
||||||
def initialize
|
def initialize(file="", debug=false)
|
||||||
@file = ""
|
@file = file
|
||||||
@debug = false
|
@debug = debug
|
||||||
end
|
end
|
||||||
|
|
||||||
# Conversation handles navigating the tree, until the option to end is
|
# Conversation handles navigating the tree, until the option to end is
|
||||||
|
|
Loading…
Reference in a new issue