Class: Zillabyte::Common::Session
- Inherits:
-
Object
- Object
- Zillabyte::Common::Session
- Defined in:
- lib/zillabyte/common/session.rb
Instance Method Summary collapse
Instance Method Details
#display(*args) ⇒ Object
8 9 10 11 12 |
# File 'lib/zillabyte/common/session.rb', line 8 def display(*args) args.each do |arg| STDOUT.syswrite(arg + "\n") end end |
#error(*args) ⇒ Object
14 15 16 |
# File 'lib/zillabyte/common/session.rb', line 14 def error(*args) puts "error: #{args.first}" end |
#update(*args) ⇒ Object
4 5 6 |
# File 'lib/zillabyte/common/session.rb', line 4 def update(*args) display(*args) end |