Sha256: 86b3e592b47ff78716a1389fe659e2ec8a7be5127068bcd4eef29f3a86dcf561

Contents?: true

Size: 227 Bytes

Versions: 2

Compression:

Stored size: 227 Bytes

Contents

module Ripl
  module Web
    def web_loop_once(input)
      @input = input || ''
    end

    def get_input
      @history << @input
      @input
    end
  end
end

Ripl::Shell.send :include, Ripl::Web
Ripl.config[:web] = true

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nirvana-0.1.1 lib/ripl/web.rb
nirvana-0.1.0 lib/ripl/web.rb