Sha256: 1ecb80b603788c13d46366c905665ec481638471fafd6e9001f72d0d018702c3

Contents?: true

Size: 237 Bytes

Versions: 9

Compression:

Stored size: 237 Bytes

Contents

# coding: utf-8

module TTY
  class Pager
    class NullPager < Pager
      # Pass output directly to stdout
      #
      # @api public
      def page(text, &callback)
        output.puts(text)
      end
    end
  end # Pager
end # TTY

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tty-pager-0.8.0 lib/tty/pager/null.rb
tty-pager-0.7.1 lib/tty/pager/null.rb
tty-pager-0.7.0 lib/tty/pager/null.rb
tty-pager-0.6.0 lib/tty/pager/null.rb
tty-pager-0.5.0 lib/tty/pager/null.rb
tty-pager-0.4.0 lib/tty/pager/null.rb
tty-pager-0.3.0 lib/tty/pager/null.rb
tty-pager-0.2.0 lib/tty/pager/null.rb
tty-pager-0.1.0 lib/tty/pager/null.rb