Flowdock
method

method_missing

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: Rails::Paths::PathParent
method_missing(id, *args) public

No documentation

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

Hide source
# File railties/lib/rails/paths.rb, line 8
      def method_missing(id, *args)
        name = id.to_s

        if name =~ /^(.*)=$/ || args.any?
          @children[$1 || name] = Path.new(@root, *args)
        elsif path = @children[name]
          path
        else
          super
        end
      end
Register or log in to add new notes.