Sha256: 38cd315a1a7758f14a17202c4b4ebf83167e5ed726fd51e043fe8a6ef4f63105
Contents?: true
Size: 598 Bytes
Versions: 15
Compression:
Stored size: 598 Bytes
Contents
module Ardm class Property # Exception raised when Ardm is about to work with # invalid property values. class InvalidValueError < StandardError attr_reader :property, :value def initialize(property, value) msg = "Invalid value %s for property %s (%s) on model %s" % [ value.inspect, property.name.inspect, property.class.name, property.model.name ] super(msg) @property = property @value = value end end # class InvalidValueError end # class Property end # module Ardm
Version data entries
15 entries across 15 versions & 1 rubygems