# File lib/hammer_cli/validator.rb, line 70 def initialize(options, to_check) super(options, to_check) @rejected_msg = _("You can't set all options %s at one time.") @required_msg = _("Options %s are required.") end
# File lib/hammer_cli/validator.rb, line 76 def exist? @to_check.each do |opt| return false unless option_passed?(opt) end return true end