class Saint::Base
Public Class Methods
new(xml_node)
click to toggle source
# File lib/saint/base.rb, line 3 def initialize(xml_node) @xml = xml_node end
Public Instance Methods
method_missing(method, *args)
click to toggle source
Calls superclass method
# File lib/saint/base.rb, line 16 def method_missing(method, *args) unless supported_tags.include?(method) super return end return process_field_value(method) end
process_field_value(method)
click to toggle source
# File lib/saint/base.rb, line 25 def process_field_value(method) raise "Method #process_field_value not overridden!" end
respond_to?(method, include_private=false)
click to toggle source
Calls superclass method
# File lib/saint/base.rb, line 11 def respond_to?(method, include_private=false) return true if supported_tags.include?(method.to_sym) super end