Skip to content

Commit

Permalink
tweak readline_line_buffer error
Browse files Browse the repository at this point in the history
  • Loading branch information
cldwalker committed Dec 22, 2010
1 parent 1564ac6 commit 09ad902
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bond/readline.rb
Expand Up @@ -24,12 +24,12 @@ def setup(agent)
def load_extension def load_extension
require 'readline_line_buffer' require 'readline_line_buffer'
rescue LoadError rescue LoadError
$stderr.puts "Bond Error: Failed to load readline_line_buffer.bundle. Ensure that it exists and was built correctly." $stderr.puts "Bond Error: Failed to load readline_line_buffer. Ensure that it exists and was built correctly."
end end


# Returns full line of what the user has typed. # Returns full line of what the user has typed.
def line_buffer def line_buffer
::Readline.line_buffer ::Readline.line_buffer
end end
end end
end end

0 comments on commit 09ad902

Please sign in to comment.