class SyntaxTree::CLI::Match
An action of the CLI
that outputs a pattern-matching Ruby expression that would match the input given.
Public Instance Methods
run(item)
click to toggle source
# File lib/syntax_tree/cli.rb, line 336 def run(item) puts item.handler.parse(item.source).construct_keys end