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



62
63
64
# File 'lib/twtr/screen.rb', line 62

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

Instance Method Details

#puts_with_enc(text) ⇒ Object



57
58
59
60
# File 'lib/twtr/screen.rb', line 57

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