Class: DateTime

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

Instance Method Summary collapse

Instance Method Details

#to_tgObject



23
24
25
26
27
28
29
# File 'lib/support.rb', line 23

def to_tg
  if TG.time_graph? 
    TG::Monat[month].tag(day).stunde(hour).pop.pop
  else
TG::Tag.fetch self
  end
end