Top Level Namespace

Includes:
Archive::Tar

Defined Under Namespace

Modules: Archive Classes: Casket

Instance Method Summary collapse

Instance Method Details

#parse_options(args) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'bin/casket', line 6

def parse_options args
  options = Hash.new
  if args.include? "--build"
    options[:build] = true
  else
     
    if args.first == "--no-bundle"
      options[:no_bundle] = true
      args.shift
    end
    options[:path] = args.first
  end
  options
end