Class: BoxCli::Displayer

Inherits:
Object
  • Object
show all
Defined in:
lib/box_cli/displayer.rb

Instance Method Summary collapse

Constructor Details

#initialize(f = STDOUT) ⇒ Displayer

Returns a new instance of Displayer.



3
4
5
# File 'lib/box_cli/displayer.rb', line 3

def initialize(f = STDOUT)
  @f = f
end

Instance Method Details

#display(s) ⇒ Object



6
7
8
# File 'lib/box_cli/displayer.rb', line 6

def display(s)
  STDOUT.puts s
end