Module: Neutron::Static

Defined in:
lib/neutron/static_lib.rb

Class Method Summary collapse

Class Method Details

.make_static(*files, out) ⇒ Object



4
5
6
7
8
9
# File 'lib/neutron/static_lib.rb', line 4

def self.make_static(*files, out)
  files.map! do |file|
    File.expand_path(file)
  end
  Neutron.execute("ar rcs #{out} #{files.join(' ')}", must_success: true)
end