# File lib/scraper/base.rb, line 449
449:       def result(*symbols)
450:         raise ArgumentError, "Use one symbol to return the value of this accessor, multiple symbols to returns a structure" if symbols.empty?
451:         symbols = symbols.map {|s| s.to_sym}
452:         if symbols.size == 1
453:           define_method :result do
454:             return self.send(symbols[0])
455:           end
456:         else
457:           struct = Struct.new(*symbols)
458:           define_method :result do
459:             return struct.new(*symbols.collect {|s| self.send(s) })
460:           end
461:         end
462:       end