Method: Formic::File#initialize

Defined in:
lib/formic/file.rb

#initialize(page, name = nil, options = {}, &block) ⇒ File

Returns a new instance of File.



3
4
5
6
# File 'lib/formic/file.rb', line 3

def initialize page, name=nil, options={}, &block
  super
  self.options[:type] = 'file'
end