Module: Ripl::Web

Defined in:
lib/ripl/web.rb

Instance Method Summary collapse

Instance Method Details

#get_inputObject



7
8
9
10
# File 'lib/ripl/web.rb', line 7

def get_input
  @history << @input
  @input
end

#web_loop_once(input) ⇒ Object



3
4
5
# File 'lib/ripl/web.rb', line 3

def web_loop_once(input)
  @input = input || ''
end