class Atheme::Helpers::List

Public Instance Methods

method_missing(method, *args, &block) click to toggle source
Calls superclass method
# File lib/atheme/helpers.rb, line 17
def method_missing(method, *args, &block)
  method = method.to_s.singularize.to_sym
  return self.map {|v| v[method] }.flatten if self.first.has_key? method
  super
end