Class: DateAsString::Formats::Format4

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

Overview

mmddyy

Class Method Summary collapse

Class Method Details

.strftime(value) ⇒ Object



43
44
45
# File 'lib/date_as_string/formats.rb', line 43

def self.strftime(value)
  value.strftime('%m%d%y')
end