Class: PageBuilder::Elements::Inputs::File

Inherits:
PageBuilder::Elements::Input show all
Defined in:
lib/pagebuilder/elements/inputs/file.rb

Overview

Creates file input nodes

Instance Method Summary collapse

Methods inherited from PageBuilder::Elements::Input

new, #type, #type=, #value, #value=

Methods inherited from Basic

#configure, #data_attributes=

Constructor Details

#initialize(*args) ⇒ File

Returns a new instance of File.



10
11
12
13
# File 'lib/pagebuilder/elements/inputs/file.rb', line 10

def initialize(*args)
  super
  self.type = 'file'
end