class Automatic::OPML::DOM::Outline

Public Instance Methods

method_missing(name,*arg,&block) click to toggle source
# File lib/automatic/opml.rb, line 110
def method_missing(name,*arg,&block)
  name = name.to_s
  case name
  when /^[a-z][0-9a-zA-Z_]*$/
    key = name.gsub(/_([a-z])/) {|x| ".#{$1.upcase}" }
    @attr[key]
  else
    raise NoMethodError
  end
end