Sha256: 2ddd3a1782236c8ca2153c0091fe2a021dbd836b74baaf2de60d5f84c30db303
Contents?: true
Size: 252 Bytes
Versions: 2
Compression:
Stored size: 252 Bytes
Contents
module ScopedId class ReadonlyAttributeError < StandardError attr_reader :attribute def initialize(attr_name, message = nil) @attribute = attr_name message ||= "#{attr_name} is readonly." super(message) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
scoped_id-0.0.2 | lib/scoped_id/errors.rb |
scoped_id-0.0.1 | lib/scoped_id/errors.rb |