# File lib/hammer_cli/validator.rb, line 13 def initialize(options, to_check) @to_check = to_check @rejected_msg = "" @required_msg = "" @options = options.inject({}) do |hash, opt| hash.update({opt.attribute.attribute_name => opt}) end end