summaryrefslogtreecommitdiff
path: root/lib/oxidized.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-04-13 10:45:36 +0300
committerSaku Ytti <saku@ytti.fi>2014-04-13 10:45:36 +0300
commitb603c20370c7548739f90f2b92ffa066d59446ab (patch)
treea14f062b34df21caa6a29edea265109acf7e639c /lib/oxidized.rb
parent8cf98a934f42bea096538ae41afa6055a35c0479 (diff)
smarter match for IP address in nodes
- add 'connnected?' method to ssh/telnet to query if or not we're connected - subclass OxidizedError from StandardError, all future OxidizedErrors should be subclasssed from this.
Diffstat (limited to 'lib/oxidized.rb')
-rw-r--r--lib/oxidized.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized.rb b/lib/oxidized.rb
index 99b1ea6..61948ff 100644
--- a/lib/oxidized.rb
+++ b/lib/oxidized.rb
@@ -1,4 +1,5 @@
module Oxidized
+ class OxidizedError < StandardError; end
Encoding.default_external = 'UTF-8'
Directory = File.expand_path File.join File.dirname(__FILE__), '../'
require 'oxidized/core'