Class: Kanrisuru::Core::Stream::Parser::Echo
- Inherits:
-
Object
- Object
- Kanrisuru::Core::Stream::Parser::Echo
- Defined in:
- lib/kanrisuru/core/stream/parsers/echo.rb
Class Method Summary collapse
Class Method Details
.parse(command, opts) ⇒ Object
8 9 10 11 12 |
# File 'lib/kanrisuru/core/stream/parsers/echo.rb', line 8 def self.parse(command, opts) return if Kanrisuru::Util.present?(opts[:new_file]) command.to_s end |