Method: CommandTimer::Command#echo_command
- Defined in:
- lib/command_timer/command.rb
#echo_command(prefix = '') ⇒ Object
24 25 26 27 28 |
# File 'lib/command_timer/command.rb', line 24 def echo_command(prefix = '') @content.split(';').each do |line| puts "#{prefix}>> #{line.strip.gsub('\\', '')}" end end |