class Utils::CommandParser::Output
Create an abstraction of puts so that we can test it
Public Class Methods
new(str)
click to toggle source
# File lib/ngi/utils/command_parser.rb, line 17 def initialize(str) @str = str end
Public Instance Methods
to_s()
click to toggle source
# File lib/ngi/utils/command_parser.rb, line 21 def to_s puts @str end