dialogue.rb: Move assignments into initialize

This commit is contained in:
Bill Niblock 2017-05-13 19:43:48 -04:00
parent 4c726b079d
commit 1c6206c3cd

View file

@ -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