Class: Class
- Inherits:
-
Object
- Object
- Class
- Defined in:
- lib/rschema.rb
Instance Method Summary collapse
Instance Method Details
#schema_walk(value, mapper) ⇒ Object
213 214 215 216 217 218 219 |
# File 'lib/rschema.rb', line 213 def schema_walk(value, mapper) if value.is_a?(self) value else RSchema::ErrorDetails.new("is not a #{self}") end end |