lib/spandx.rb in spandx-0.8.0 vs lib/spandx.rb in spandx-0.9.0
- old
+ new
@@ -39,13 +39,17 @@
module Spandx
class Error < StandardError; end
class << self
- attr_writer :logger
+ attr_writer :airgap, :logger
def root
Pathname.new(File.dirname(__FILE__)).join('../..')
+ end
+
+ def airgap?
+ @airgap
end
def http
@http ||= Spandx::Gateways::Http.new
end