Sha256: b646cdb5807f87ee6738dcbd2b2d98d6cfefcb1b31c2daa7c38a6e7e7bab6ece

Contents?: true

Size: 207 Bytes

Versions: 6

Compression:

Stored size: 207 Bytes

Contents

require 'ripl'

module Ripl::Rc; end
module Ripl::Rc::EatWhites
  # don't print empty input
  def print_result result
    super unless @input.strip == ''
  end
end

Ripl::Shell.include(Ripl::Rc::EatWhites)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ripl-rc-0.1.5 lib/ripl/rc/eat_whites.rb
ripl-rc-0.1.4 lib/ripl/rc/eat_whites.rb
ripl-rc-0.1.3 lib/ripl/rc/eat_whites.rb
ripl-rc-0.1.2 lib/ripl/rc/eat_whites.rb
ripl-rc-0.1.1 lib/ripl/rc/eat_whites.rb
ripl-rc-0.1.0 lib/ripl/rc/eat_whites.rb