Class: Twitter::Status

Inherits:
Object
  • Object
show all
Defined in:
lib/twat/subcommands/base.rb

Instance Method Summary collapse

Instance Method Details

#as_userObject



3
4
5
6
7
8
9
# File 'lib/twat/subcommands/base.rb', line 3

def as_user
  begin
    user.screen_name
  rescue NoMethodError
    from_user
  end
end