krainboltgreene/intrinsic — Issue #11: Provide a raise message for `check_properties_of` method
Author: krainboltgreene
Created: 2012-01-09 04:39:55+00:00
State: open
Labels: Bug

Source TODO marker:

``` ruby
def check_properties_of(values)
# Go over each key, and if it results in false raise an ArgumentError
# TODO: Provide helpful raise message
raise ArgumentError unless values.each_key.all? do |property|
# Check to see if the property is included in the class property list
self.class.properties.include? property
end
end
```