Sha256: 2a58b663c8a1eebeb8ad300043752b079e97b8632207f8410ee0cabce0303df7
Contents?: true
Size: 305 Bytes
Versions: 15
Compression:
Stored size: 305 Bytes
Contents
module WebConsole::REPL class InputController < WebConsole::Controller attr_accessor :view def initialize end def parse_input(input) input = input.dup input.chomp! if !input.strip.empty? # Ignore empty lines @view.add_input(input) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems