Sha256: f5e04f042cc77969b50934404dc5b45c26ca89d0997ac1f57a7cfe6a0366e54e
Contents?: true
Size: 520 Bytes
Versions: 8
Compression:
Stored size: 520 Bytes
Contents
module Sprite class Runner attr_accessor :options def initialize(args) self.options = set_options(args) end def set_options(args) opts = {} # TODO # edit options with passed in args opts end # run sprite creator def run! begin Sprite::Builder.from_config(options[:path]).build # rescue Exception => e # # catch errors # puts "ERROR" # puts e # return 1 end 0 end end end
Version data entries
8 entries across 8 versions & 2 rubygems