Class: Time

Inherits:
Object
  • Object
show all
Defined in:
lib/webby/core_ext/time.rb

Instance Method Summary collapse

Instance Method Details

#to_yObject



4
5
6
# File 'lib/webby/core_ext/time.rb', line 4

def to_y
  self.to_yaml.slice(4..-1).strip
end