Class: Avmtrf1::InventarioSistemas::SiteBuild

Inherits:
Object
  • Object
show all
Defined in:
lib/avmtrf1/inventario_sistemas/site_build.rb,
lib/avmtrf1/inventario_sistemas/site_build/index.rb,
lib/avmtrf1/inventario_sistemas/site_build/sistema.rb,
lib/avmtrf1/inventario_sistemas/site_build/html_page_base.rb,
lib/avmtrf1/inventario_sistemas/site_build/sistemas_index.rb,
lib/avmtrf1/inventario_sistemas/site_build/html_page_base/layout.rb,
lib/avmtrf1/inventario_sistemas/site_build/html_page_base/elements.rb

Defined Under Namespace

Classes: HtmlPageBase, Index, Sistema, SistemasIndex

Constant Summary collapse

UNIQUES =
%w[index sistemas_index].freeze

Instance Method Summary collapse

Instance Method Details

#column(main, sub) ⇒ Object



20
21
22
23
24
# File 'lib/avmtrf1/inventario_sistemas/site_build.rb', line 20

def column(main, sub)
  indexed_columns.fetch(
    ::Avmtrf1::InventarioSistemas::Parser::HeaderColumn.build_id(main, sub)
  )
end

#runObject



14
15
16
17
18
# File 'lib/avmtrf1/inventario_sistemas/site_build.rb', line 14

def run
  create_output_directory
  build_uniques
  build_sistemas
end