Class: OCL::UAddrs
Overview
SizeOf
Instance Method Summary collapse
- #cexp? ⇒ Boolean
- #csymbol ⇒ Object
-
#initialize(exp) ⇒ UAddrs
constructor
A new instance of UAddrs.
Methods inherited from Unary
Methods inherited from Block
check_condition, result, #to_s
Constructor Details
#initialize(exp) ⇒ UAddrs
Returns a new instance of UAddrs.
268 269 270 271 |
# File 'lib/dbc/ocl.rb', line 268 def initialize(exp) raise ParseError, "cannot reference a condition" unless exp.cexp? super end |
Instance Method Details
#cexp? ⇒ Boolean
273 |
# File 'lib/dbc/ocl.rb', line 273 def cexp?; true end |
#csymbol ⇒ Object
272 |
# File 'lib/dbc/ocl.rb', line 272 def csymbol; '&' end |