instance method
to_param
Ruby on Rails edge
Since edgeSignature
to_param()
Returns the name of the symbol as a frozen String, the same object ‘Symbol#name` returns.
Source
# File activesupport/lib/active_support/core_ext/object/to_query.rb, line 22
def to_param
name
end
Defined in activesupport/lib/active_support/core_ext/object/to_query.rb line 22
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Symbol