method

token_list

Importance_1
v6.1.7.7 - Show latest stable - 0 notes - Class: ActionView::Helpers::TagHelper
token_list(*args) public

Returns a string of tokens built from args.

Examples

token_list("foo", "bar")
 # => "foo bar"
token_list("foo", "foo bar")
 # => "foo bar"
token_list({ foo: true, bar: false })
 # => "foo"
token_list(nil, false, 123, "", "foo", { bar: true })
 # => "123 foo bar"
Show source
Register or log in to add new notes.