Class: Kanrisuru::Core::File::Parser::Wc
- Inherits:
-
Object
- Object
- Kanrisuru::Core::File::Parser::Wc
- Defined in:
- lib/kanrisuru/core/file/parsers/wc.rb
Class Method Summary collapse
Class Method Details
.parse(command) ⇒ Object
8 9 10 11 |
# File 'lib/kanrisuru/core/file/parsers/wc.rb', line 8 def self.parse(command) items = command.to_s.split Kanrisuru::Core::File::FileCount.new(items[0].to_i, items[1].to_i, items[2].to_i) end |