method

split_to

rails latest stable - Class: ActionDispatch::Routing::Mapper::Mapping

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

split_to(to)
public

No documentation available.

# File actionpack/lib/action_dispatch/routing/mapper.rb, line 308
          def split_to(to)
            if /#/.match?(to)
              to.split("#").map!(&:-@)
            else
              []
            end
          end