Sha256: 7f10d7d2772fa6023ea4dd03e23c699e226269daabda83f83c1389c98413c33d
Contents?: true
Size: 795 Bytes
Versions: 5
Compression:
Stored size: 795 Bytes
Contents
module Ing module Commands # This is the default boot command when ARGV.first not recognized as # a built-in Ing command. For example, `ing some:task run` . class Implicit DEFAULTS = { namespace: 'object', ing_file: 'ing.rb' } def self.specify_options(parser) parser.text "(internal)" parser.stop_on_unknown end include Ing::Boot include Ing::CommonOptions attr_accessor :options def initialize(options) self.options = options end # Require each passed file or library before running # and require the ing file if it exists def before(*args) require_libs require_ing_file end end end end
Version data entries
5 entries across 5 versions & 1 rubygems