Sha256: 9de4d0fa4f41d2972b8300615fb34597b40226865d4b398ac80cd35432be7b6e
Contents?: true
Size: 723 Bytes
Versions: 1
Compression:
Stored size: 723 Bytes
Contents
require 'idler/version' require 'idler/errors' require 'idler/install' require 'idler/git_branch' require 'idler/branch' require 'idler/descriptions' require 'idler/workers' module Idler class << self include GitBranch def descriptions @descriptions ||= Descriptions.new end def workers @workers ||= Workers.new end def run(argv = []) argvs = [] argvs.push *ARGV.dup argvs.push *argv Install.copy if argvs.include?('init') descriptions.info if argvs.include?('info') if argvs.empty? workers.run(current_branch) else workers.run(argvs.first) unless ['init', 'info'].include? argvs.first end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
idler-0.1.0 | lib/idler.rb |