# File lib/hammer_cli/validator.rb, line 77definitialize(options, to_check)
super(options, to_check)
@rejected_msg = _("You can't set any of options %s")
@required_msg = _("At least one of options %s is required")
end
Public Instance Methods
exist?()click to toggle source
# File lib/hammer_cli/validator.rb, line 83defexist?@to_check.eachdo|opt|returntrueifoption_passed?(opt)
endreturn@to_check.empty?end