method

write_inheritable_array

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: Class
write_inheritable_array(key, elements) 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/class/inheritable_attributes.rb, line 106
  def write_inheritable_array(key, elements)
    write_inheritable_attribute(key, []) if read_inheritable_attribute(key).nil?
    write_inheritable_attribute(key, read_inheritable_attribute(key) + elements)
  end
Register or log in to add new notes.