module RAR

RAR is a Ruby wrapper for the command-line application rar, also known as WinRAR for Windows. A free evaluation copy can be obtained from RarLab.

Constants

CommandLineError

The standard error for unexpected exit codes.

ExitCodeMessages

A list of messages of what the process exit code might indicate.

Version

The library version constant.

Public Class Methods

executable() click to toggle source

@return [String] the path to the executable ‘rar` file.

# File library/rar.rb, line 43
def self.executable
  @executable || 'rar'
end
executable=(executable) click to toggle source

Set the path to the executable ‘rar` file.

@return [String] the new path to the executable.

# File library/rar.rb, line 38
def self.executable= executable
  @executable = executable
end
version() click to toggle source

Returns the current library version number.

@return [String] the current library version number.

# File library/rar/version.rb, line 10
def self.version
  Version
end