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.
272 273 274 275 |
# File 'lib/dbc/ocl.rb', line 272 def initialize(exp) raise ParseError, "cannot reference a condition" unless exp.cexp? super end |
Instance Method Details
#cexp? ⇒ Boolean
277 |
# File 'lib/dbc/ocl.rb', line 277 def cexp?; true end |
#csymbol ⇒ Object
276 |
# File 'lib/dbc/ocl.rb', line 276 def csymbol; '&' end |