Class: DateAsString::Formats::Format1

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

Overview

mm_dd_yyyy

Class Method Summary collapse

Class Method Details

.strftime(value) ⇒ Object



22
23
24
# File 'lib/date_as_string/formats.rb', line 22

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