Class: Kanrisuru::Core::Path::Parser::Which
- Inherits:
-
Object
- Object
- Kanrisuru::Core::Path::Parser::Which
- Defined in:
- lib/kanrisuru/core/path/parsers/which.rb
Class Method Summary collapse
Class Method Details
.parse(command) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/kanrisuru/core/path/parsers/which.rb', line 8 def self.parse(command) rows = command.to_a rows.map do |row| FilePath.new(row) end end |