Sha256: 6883bf103de8ffeb62814e7fbd783130c3da55915c2b41a26f18dcec269b5467

Contents?: true

Size: 301 Bytes

Versions: 8

Compression:

Stored size: 301 Bytes

Contents

module Fog

  def self.mocking=(new_mocking)
    old_mocking = @mocking
    @mocking = new_mocking
    unless old_mocking == new_mocking
      self.reload
    end
  end

  def self.mocking?
    !!@mocking
  end

  def self.reload
    load "#{File.dirname(__FILE__)}/fog/aws.rb"
  end

end

Fog.reload

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
geemus-fog-0.0.3 lib/fog.rb
fog-0.0.9 lib/fog.rb
fog-0.0.8 lib/fog.rb
fog-0.0.7 lib/fog.rb
fog-0.0.6 lib/fog.rb
fog-0.0.5 lib/fog.rb
fog-0.0.4 lib/fog.rb
fog-0.0.3 lib/fog.rb