Class: Peanuts::XML::Writer
- Inherits:
-
Object
- Object
- Peanuts::XML::Writer
- Defined in:
- lib/peanuts/xml.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
68 69 70 71 72 73 74 75 |
# File 'lib/peanuts/xml.rb', line 68 def self.method_missing(method, *args, &block) case method.to_s when /^from_(.*)$/ new(args.first, $1.to_sym, &block) else super end end |