Class: SXRB::Rules Private
- Inherits:
-
Object
- Object
- SXRB::Rules
- Defined in:
- lib/sxrb/callbacks.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Internal class that is designed to keep rules of matching XML elements.
Instance Attribute Summary collapse
- #recursive ⇒ Object private
- #rules ⇒ Object private
Instance Method Summary collapse
-
#initialize ⇒ Rules
constructor
private
A new instance of Rules.
Constructor Details
#initialize ⇒ Rules
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Rules.
102 103 104 105 |
# File 'lib/sxrb/callbacks.rb', line 102 def initialize @rules = {} @recursive = false end |
Instance Attribute Details
#recursive ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
101 102 103 |
# File 'lib/sxrb/callbacks.rb', line 101 def recursive @recursive end |
#rules ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
101 102 103 |
# File 'lib/sxrb/callbacks.rb', line 101 def rules @rules end |