lib/webconsole/repl/lib/input_controller.rb in webconsole-0.1.18 vs lib/webconsole/repl/lib/input_controller.rb in webconsole-0.1.19
- old
+ new
@@ -1,9 +1,10 @@
module WebConsole::REPL
class InputController < WebConsole::Controller
attr_accessor :view
- def initialize
+ def initialize(view)
+ @view = view
end
def parse_input(input)
input = input.dup
input.chomp!
\ No newline at end of file