Module: Sevgi::Binaries::Igves Private
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Implements the igves executable that converts SVG files into Sevgi DSL source.
Constant Summary collapse
- PROGNAME =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Executable name used in help output.
"igves"- Error =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Error raised for invalid command-line usage.
Class.new(::Sevgi::Error)
Instance Method Summary collapse
-
#call(argv) ⇒ nil
private
Runs the
igvescommand-line interface.
Instance Method Details
#call(argv) ⇒ nil
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Runs the igves command-line interface.
72 73 74 75 76 |
# File 'lib/sevgi/binaries/igves.rb', line 72 def call(argv) dispatch(Array(argv)) rescue Binaries::Igves::Error => e abort("#{e.}\n\n#{help}") end |