shell_shock 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/shell_shock/context.rb +4 -4
  2. metadata +3 -3
@@ -38,15 +38,15 @@ module ShellShock
38
38
  return if ['quit', 'exit'].include?($1)
39
39
  process_command $1
40
40
  else
41
- puts "can not process line \"#{line}\""
41
+ @io.say "can not process line \"#{line}\""
42
42
  end
43
- puts
43
+ @io.say
44
44
  refresh
45
45
  end
46
46
  rescue Interrupt => e
47
47
  return
48
48
  end
49
- puts
49
+ @io.say
50
50
  end
51
51
 
52
52
  def display_help_for_command command_name
@@ -56,7 +56,7 @@ module ShellShock
56
56
  @io.say "Usage: #{command_name} #{command.usage}" if command.respond_to?(:usage)
57
57
  @io.say "Help:\n #{command.help}" if command.respond_to?(:help)
58
58
  else
59
- puts "no help available for command \"#{command_name}\""
59
+ @io.say "no help available for command \"#{command_name}\""
60
60
  end
61
61
  end
62
62
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mark Ryall
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-13 00:00:00 +10:00
17
+ date: 2010-06-15 00:00:00 +10:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency