Module: Fontcustom

Defined in:
lib/fontcustom.rb,
lib/fontcustom/cli.rb,
lib/fontcustom/watcher.rb,
lib/fontcustom/generator.rb

Defined Under Namespace

Classes: CLI, Generator, Watcher

Class Method Summary collapse

Class Method Details

.compile(*args) ⇒ Object

Usage: Fontcustom.compile ‘path/to/vectors’, ‘-o’, ‘path/to/output’



8
9
10
# File 'lib/fontcustom.rb', line 8

def compile(*args)
  Fontcustom::Generator.start(args) # as array
end

.stopObject



16
17
18
# File 'lib/fontcustom.rb', line 16

def stop
  Fontcustom::Watcher.stop
end

.watch(*args) ⇒ Object



12
13
14
# File 'lib/fontcustom.rb', line 12

def watch(*args)
  Fontcustom::Watcher.watch(*args)
end