Class: Pcli::Options::TTYOption

Inherits:
Object
  • Object
show all
Includes:
TTY::Option
Defined in:
lib/pcli/options.rb

Instance Method Summary collapse

Instance Method Details

#evaluateObject



27
28
29
30
31
32
33
34
# File 'lib/pcli/options.rb', line 27

def evaluate
  if params[:help]
    print help
    exit
  end

  params.to_h
end