Class: DateAsString::Formats::Format2

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

Overview

mm_dd_yy

Class Method Summary collapse

Class Method Details

.strftime(value) ⇒ Object



29
30
31
# File 'lib/date_as_string/formats.rb', line 29

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