Flowdock
method

new

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: ActiveSupport::InheritableOptions
new(parent = nil) 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/ordered_options.rb, line 46
    def initialize(parent = nil)
      if parent.kind_of?(OrderedOptions)
        # use the faster _get when dealing with OrderedOptions
        super() { |h,k| parent._get(k) }
      elsif parent
        super() { |h,k| parent[k] }
      else
        super()
      end
    end
Register or log in to add new notes.