class Hashie::Dash

def property_exists?(property)


Raises an NoMethodError if the property doesn't exist
def property_exists?(property)
  unless self.class.property?(property.to_sym)
    raise NoMethodError, "The property '#{property}' is not defined for this Dash."
  end
  true
end