Method: QRPC::Protocol::QrpcObject#check!
- Defined in:
- lib/qrpc/protocol/qrpc-object.rb
#check! ⇒ Object
Checks correctness of the object data.
49 50 51 52 53 54 55 |
# File 'lib/qrpc/protocol/qrpc-object.rb', line 49 def check! self.normalize! if (not @priority.nil?) and not (@priority.kind_of? Numeric) raise Exception::new("Priority is expected to be Numeric.") end end |