Class: String

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

Instance Method Summary collapse

Instance Method Details

#to_tgObject



33
34
35
36
# File 'lib/support.rb', line 33

def to_tg
  date =  DateTime.parse(self)
  date.to_tg
end