class HtmlGrid::InputFile

Constants

LABEL

Public Instance Methods

init() click to toggle source
Calls superclass method
# File lib/htmlgrid/inputfile.rb, line 32
def init
  super
  @attributes["type"] = "file"
end
to_html(context) click to toggle source
# File lib/htmlgrid/inputfile.rb, line 37
def to_html(context)
  context.input(@attributes)
end