class CLI

Public Class Methods

exit_on_failure?() click to toggle source
# File lib/ruby-zen/cli.rb, line 47
def self.exit_on_failure?
  # Thor stop and show messages on screen on failure
  true
end

Public Instance Methods

langs() click to toggle source
# File lib/ruby-zen/cli.rb, line 22
def langs
  RubyZen.langs
end
method_missing(method, *_args, &_block) click to toggle source
# File lib/ruby-zen/cli.rb, line 39
def method_missing(method, *_args, &_block)
  puts "[ERROR] #{method} unknown!"
end
respond_to_missing?(_method_name) click to toggle source
# File lib/ruby-zen/cli.rb, line 43
def respond_to_missing?(_method_name)
  true
end
show() click to toggle source
# File lib/ruby-zen/cli.rb, line 34
def show
  # Typical error... write show(options) instead of show! jajaja
  RubyZen.show(options)
end
version() click to toggle source
# File lib/ruby-zen/cli.rb, line 13
def version
  RubyZen.version
end