Module: Protocol
- Defined in:
- lib/protocol.rb,
lib/protocol/xt.rb,
lib/protocol/errors.rb,
lib/protocol/message.rb,
lib/protocol/version.rb,
lib/protocol/utilities.rb,
lib/protocol/descriptor.rb,
lib/protocol/post_condition.rb,
lib/protocol/protocol_module.rb,
lib/protocol/method_parser/ruby_parser.rb
Defined Under Namespace
Modules: CheckError, Utilities Classes: ArgumentErrorCheckError, BaseCheckError, BlockCheckError, CheckFailed, Descriptor, Message, MethodParser, NotImplementedErrorCheckError, Postcondition, PostconditionCheckError, PreconditionCheckError, ProtocolError, ProtocolModule, SpecificationError
Constant Summary collapse
- CHECK_MODES =
The legal check modes, that influence the behaviour of the conform_to method in a class definition:
-
:error -> raises a CheckFailed exception, containing other CheckError exceptions.
-
:warning -> prints a warning to STDERR.
-
:none -> does nothing.
-
[ :error, :warning, :none ]
- VERSION =
Protocol version
'1.0.1'- VERSION_ARRAY =
:nodoc:
VERSION.split('.').map(&:to_i)
- VERSION_MAJOR =
:nodoc:
VERSION_ARRAY[0]
- VERSION_MINOR =
:nodoc:
VERSION_ARRAY[1]
- VERSION_BUILD =
:nodoc:
VERSION_ARRAY[2]