# File lib/choices/rails.rb, line 41 def method_missing(method, *args, &block) if method.to_s =~ /=$/ or (method.to_s =~ /\?$/ and @choices.key?($`)) @choices.send(method, *args) elsif @choices.key?(method) @choices[method] else super end end