Class: ReeDao::EntityContract
- Inherits:
-
Object
- Object
- ReeDao::EntityContract
- Extended by:
- Ree::Contracts::Truncatable
- Defined in:
- lib/ree_lib/packages/ree_dao/package/ree_dao/contract/entity_contract.rb
Class Method Summary collapse
Class Method Details
.message(value, name, lvl = 1) ⇒ Object
12 13 14 |
# File 'lib/ree_lib/packages/ree_dao/package/ree_dao/contract/entity_contract.rb', line 12 def self.(value, name, lvl = 1) "expected #{to_s}, got => #{truncate(value.inspect)}" end |
.to_s ⇒ Object
8 9 10 |
# File 'lib/ree_lib/packages/ree_dao/package/ree_dao/contract/entity_contract.rb', line 8 def self.to_s "PackageName::Entity" end |