Module: Xar

Defined in:
lib/xar.rb

Defined Under Namespace

Modules: Native Classes: Archive

Class Method Summary collapse

Class Method Details

.open(path, flag) ⇒ Object



5
6
7
8
9
# File 'lib/xar.rb', line 5

def self.open(path, flag)
  xar_t = Xar::Native.xar_open(path, flag)

  Xar::Archive.new(xar_t)
end