Flowdock
mattr_writer(*syms) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/module/attribute_accessors.rb, line 34
  def mattr_writer(*syms)
    options = syms.extract_options!
    syms.each do |sym|
      class_eval("unless defined? @@\#{sym}                       # unless defined? @@pagination_options\n@@\#{sym} = nil                               #   @@pagination_options = nil\nend                                            # end\n#\ndef self.\#{sym}=(obj)                          # def self.pagination_options=(obj)\n@@\#{sym} = obj                               #   @@pagination_options = obj\nend                                            # end\n#\n\#{\"                                            #\ndef \#{sym}=(obj)                               # def pagination_options=(obj)\n@@\#{sym} = obj                               #   @@pagination_options = obj\nend                                            # end\n\" unless options[:instance_writer] == false }  # # instance writer above is generated unless options[:instance_writer] == false\n", __FILE__, __LINE__)
    end
  end
Register or log in to add new notes.