krainboltgreene/intrinsic — Issue #12: Re-factor `properties` method/ivar into class variable
Author: krainboltgreene
Created: 2012-01-09 04:41:13+00:00
State: open

Source TODO marker:

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