Class: Nokogiri::XML::Builder
- Inherits:
-
Object
- Object
- Nokogiri::XML::Builder
- Defined in:
- backend/app/exporters/lib/exporter.rb
Overview
Help Nokogiri to remember namespaces
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args, &block) ⇒ Object
169 170 171 172 173 |
# File 'backend/app/exporters/lib/exporter.rb', line 169 def method_missing(m, *args, &block) @sticky_ns ||= nil @ns = @sticky_ns if @sticky_ns old_method_missing(m, *args, &block) end |
Instance Method Details
#old_method_missing ⇒ Object
167 |
# File 'backend/app/exporters/lib/exporter.rb', line 167 alias :old_method_missing :method_missing |