Class: OpenWFE::RawExpression::Tag
- Inherits:
-
Object
- Object
- OpenWFE::RawExpression::Tag
- Defined in:
- lib/openwfe/expressions/raw.rb
Overview
A small class wrapping a tag (a raw expression and the workitem it received at apply time.
Instance Attribute Summary collapse
-
#raw_expression ⇒ Object
readonly
Returns the value of attribute raw_expression.
-
#workitem ⇒ Object
readonly
Returns the value of attribute workitem.
Instance Method Summary collapse
- #flow_expression_id ⇒ Object (also: #fei)
-
#initialize(raw_expression, workitem) ⇒ Tag
constructor
A new instance of Tag.
Constructor Details
#initialize(raw_expression, workitem) ⇒ Tag
Returns a new instance of Tag.
415 416 417 418 419 |
# File 'lib/openwfe/expressions/raw.rb', line 415 def initialize (raw_expression, workitem) @raw_expression = raw_expression.dup @workitem = workitem.dup end |
Instance Attribute Details
#raw_expression ⇒ Object (readonly)
Returns the value of attribute raw_expression.
406 407 408 |
# File 'lib/openwfe/expressions/raw.rb', line 406 def raw_expression @raw_expression end |
#workitem ⇒ Object (readonly)
Returns the value of attribute workitem.
406 407 408 |
# File 'lib/openwfe/expressions/raw.rb', line 406 def workitem @workitem end |
Instance Method Details
#flow_expression_id ⇒ Object Also known as: fei
410 411 412 |
# File 'lib/openwfe/expressions/raw.rb', line 410 def flow_expression_id @raw_expression.fei end |