class HtmlGrid::InputDate

Public Instance Methods

init() click to toggle source
Calls superclass method
# File lib/htmlgrid/inputdate.rb, line 31
def init
  super
  if @value.respond_to?(:strftime)
    @attributes["value"] = @value.strftime(@lookandfeel.lookup(:date_format))
  end
end