Brian Sammon
unread,Oct 27, 2014, 3:25:17 PM10/27/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
Is there any documentation for how the match command converts the ":to"
argument to a class and method name?
If I have
match '<path>', to: '<sort-of-a-class-name>#<sort-of-a-method-name>',
via: :get
How does it go from <sort-of-a-class-name> to <actual-class-name>, and
more importantly, how do I go in the reverse direction?
I can probably figure this out via trial-and-error, but I'd like to see
docs if there are some, or contribute some docs if not.