method

method_missing

method_missing(method_symbol, *arguments)
private

No documentation available.

# File activeresource/lib/active_resource/base.rb, line 1062
      def method_missing(method_symbol, *arguments) #:nodoc:
        method_name = method_symbol.to_s

        case method_name.last
          when "="
            attributes[method_name.first(-1)] = arguments.first
          when "?"
            attributes[method_name.first(-1)]
          else
            attributes.has_key?(method_name) ? attributes[method_name] : super
        end
      end