Method: Passifier::Archive#data

Defined in:
lib/passifier/archive.rb

#dataString

The raw data of this archive file

Returns:

  • (String)

    The raw data of this archive file



23
24
25
# File 'lib/passifier/archive.rb', line 23

def data
  File.open(@path, 'rb') {|file| file.read } unless @path.nil?
end