Class: Mmi::AssetsProcessor

Inherits:
Object
  • Object
show all
Includes:
PropertyAttributes
Defined in:
lib/mmi/assets_processor.rb

Instance Method Summary collapse

Methods included from PropertyAttributes

#[], #initialize, #parse!, #parsed_property_store, prepended, #to_h, #update_properties!, #validate_constraints!

Instance Method Details

#installObject



13
14
15
16
17
18
19
20
21
# File 'lib/mmi/assets_processor.rb', line 13

def install
  InstallRecord.new.tap do |install_record|
    self.items.each do |asset|
      asset.install(install_record)
    end
    
    install_record.install(self.profile_dir)
  end
end