個人的なメモ

[1] pry(main)> Ripper.lex(':manage/home')
=> [[[1, 0], :on_symbeg, ":"], [[1, 1], :on_ident, "manage"],
    [[1, 7], :on_op, "/"], [[1, 8], :on_ident, "home"]]

“:” → シンボルの開始
“manage” → 識別子(identifier)
“/” → 演算子(operator)
“home” → 識別子

class Ripper (Ruby 2.3.0)