Module: Drawy
- Defined in:
- lib/drawy.rb,
lib/drawy/io.rb,
lib/drawy/error.rb,
lib/drawy/engine.rb,
lib/drawy/version.rb,
lib/drawy/validator.rb,
lib/drawy/application.rb
Defined Under Namespace
Classes: Application, Engine, Error, IO, InputError, ValidationError, Validator
Constant Summary collapse
- VERSION =
"0.0.3"
Class Method Summary collapse
Class Method Details
.run ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/drawy.rb', line 14 def run Drawy::Application.start rescue Drawy::Error => e $stderr.puts "#------------ #{e.message} ------------#" run rescue StandardError => e abort "#{e.backtrace.join("\n")}\n\n#{e.class} - #{e.message}\n\nSomething went wrong." end |