Class: Adva::Static::Import::Source::Page

Inherits:
Section
  • Object
show all
Defined in:
lib/adva/static/import/source/page.rb

Constant Summary

Constants inherited from Section

Section::TYPES

Instance Attribute Summary

Attributes inherited from Base

#path

Class Method Summary collapse

Methods inherited from Section

#data, #name, #root?, #slug

Methods inherited from Base

#<=>, #data, #initialize, #model_name, #to_hash

Constructor Details

This class inherits a constructor from Adva::Static::Import::Source::Base

Class Method Details

.recognize(paths) ⇒ Object



7
8
9
# File 'lib/adva/static/import/source/page.rb', line 7

def recognize(paths)
  paths.map { |path| new(path) }
end