Module: Card::Set::Type::Date::HtmlFormat

Extended by:
AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod026-date/type/date.rb

Instance Method Summary collapse

Instance Method Details

#input_typeObject

[View source]

9
10
11
# File 'platypus/tmp/set/gem-defaults/mod026-date/type/date.rb', line 9

def input_type
  :calendar
end

#view: coreObject

[View source]

13
14
15
# File 'platypus/tmp/set/gem-defaults/mod026-date/type/date.rb', line 13

view :core do
  ::Date.parse(card.content).strftime "%B %-d, %Y"
end