lib/tty/terminal.rb in tty-0.1.3 vs lib/tty/terminal.rb in tty-0.2.0

- old
+ new

@@ -7,25 +7,17 @@ # @return [TTY::Terminal::Color] # # @api public attr_reader :color - # Output pager - # - # @return [TTY::Terminal::Pager] - # - # @api public - attr_reader :pager - # Initialize a Terminal # # @api public def initialize(options = {}) @color = Pastel.new @echo = TTY::Terminal::Echo.new @raw = TTY::Terminal::Raw.new - @pager = TTY::Terminal::Pager @home = Home.new end # Switch echo on # @@ -78,18 +70,8 @@ # @return [String] # # @api public def home @home.home - end - - # Run text through a dynamically chosen pager - # - # @param [String] text - # the text to page - # - # @api public - def page(text) - @pager.page(text) end end # Terminal end # TTY