Module: Twtr::Screen

Included in:
Console
Defined in:
lib/twtr/screen.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



71
72
73
# File 'lib/twtr/screen.rb', line 71

def self.included(receiver)
  receiver.send :include, InstanceMethods
end

Instance Method Details

#puts_with_enc(text) ⇒ Object



66
67
68
69
# File 'lib/twtr/screen.rb', line 66

def puts_with_enc(text)
  text = text.tosjis if Twtr.is_win?
  print "#{text}\n"  
end