Class: Peanuts::XML::Reader
- Inherits:
-
Object
- Object
- Peanuts::XML::Reader
- Includes:
- Enumerable
- Defined in:
- lib/peanuts/xml.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
50 51 52 53 54 55 56 57 |
# File 'lib/peanuts/xml.rb', line 50 def self.method_missing(method, *args, &block) case method.to_s when /^from_(.*)$/ new(args.first, $1.to_sym, &block) else super end end |