Class: Date

Inherits:
Object show all
Defined in:
lib/basic/basic.rb

Instance Method Summary collapse

Instance Method Details

#american(sep = '/') ⇒ Object


211
212
213
# File 'lib/basic/basic.rb', line 211

def american sep = '/'
	"%02d#{sep}%02d#{sep}%02d" % [month, day, year]
end