Class: Ruleby::Core::Assertion
- Inherits:
-
Struct
- Object
- Struct
- Ruleby::Core::Assertion
- Defined in:
- lib/core/nodes.rb
Instance Method Summary collapse
Instance Method Details
#add_tag(tag, value) ⇒ Object
994 995 996 997 |
# File 'lib/core/nodes.rb', line 994 def add_tag(tag, value) @tags ||= {} @tags[tag] = value end |
#tags ⇒ Object
999 1000 1001 |
# File 'lib/core/nodes.rb', line 999 def @tags ? @tags : {} end |