Method: ComfortableMexicanSofa::Seeds::Page::Importer#initialize

Defined in:
lib/comfortable_mexican_sofa/seeds/page/importer.rb

#initialize(from, to = from) ⇒ Importer

Returns a new instance of Importer.



10
11
12
13
# File 'lib/comfortable_mexican_sofa/seeds/page/importer.rb', line 10

def initialize(from, to = from)
  super
  self.path = ::File.join(ComfortableMexicanSofa.config.seeds_path, from, "pages/")
end