Class: DjVuTools

Inherits:
Object
  • Object
show all
Defined in:
lib/djvu-tools.rb,
lib/djvu-tools/version.rb

Overview

Ruby toolbox for manipulating DjVu files.

Direct Known Subclasses

DjVuNumberer

Constant Summary collapse

VERSION =

Version number.

"0.2.4"

Instance Method Summary collapse

Constructor Details

#initialize(file) ⇒ DjVuTools

Returns a new instance of DjVuTools.

See Also:

  • DjVused#new


12
13
14
# File 'lib/djvu-tools.rb', line 12

def initialize file
  @djvu = DjVused.new file
end

Instance Method Details

#runObject

Run djvused with the current command string.



17
18
19
# File 'lib/djvu-tools.rb', line 17

def run
  @djvu.save
end