Method

bind

bind(map)

Bind key-value pairs in a map to a path.

Parameter

map

rules.Map

Map to bind.

Value must not be null.

Example

// Make the path '/path/something/another' by binding a map
(/path/$(foo)/$(bar)).bind({"foo": "something", "bar": "another"})