Class: SXRB::Rules Private

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initializeRules

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

#recursiveObject

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

#rulesObject

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