Class: Cinch::User

Inherits:
Target
  • Object
show all
Defined in:
lib/patches.rb

Instance Method Summary collapse

Instance Method Details

#to_iObject



26
27
28
# File 'lib/patches.rb', line 26

def to_i
  self.to_s.to_i
end

#to_sObject



22
23
24
# File 'lib/patches.rb', line 22

def to_s
  self.data[:authname]
end