Sha256: bbac1dafd3d9ab0c23675ef6f6c5ce02d1d7d10e3490a23cec2ce476cc70d2a9

Contents?: true

Size: 235 Bytes

Versions: 34

Compression:

Stored size: 235 Bytes

Contents

require 'singleton'

module Serverspec
  class Attributes
    include Singleton
    def initialize
      @attr = {}
    end
    def attributes attr=nil
      if ! attr.nil?
        @attr = attr
      end
      @attr
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
serverspec-0.6.6 lib/serverspec/attributes.rb
serverspec-0.6.5 lib/serverspec/attributes.rb
serverspec-0.6.4 lib/serverspec/attributes.rb
serverspec-0.6.3 lib/serverspec/attributes.rb
serverspec-0.6.2 lib/serverspec/attributes.rb
serverspec-0.6.1 lib/serverspec/attributes.rb
serverspec-0.6.0 lib/serverspec/attributes.rb
serverspec-0.5.8 lib/serverspec/attributes.rb
serverspec-0.5.7 lib/serverspec/attributes.rb
serverspec-0.5.6 lib/serverspec/attributes.rb
serverspec-0.5.5 lib/serverspec/attributes.rb
serverspec-0.5.4 lib/serverspec/attributes.rb
serverspec-0.5.3 lib/serverspec/attributes.rb
serverspec-0.5.2 lib/serverspec/attributes.rb
serverspec-0.5.1 lib/serverspec/attributes.rb
serverspec-0.5.0 lib/serverspec/attributes.rb
serverspec-0.4.14 lib/serverspec/attributes.rb
serverspec-0.4.13 lib/serverspec/attributes.rb
serverspec-0.4.12 lib/serverspec/attributes.rb
serverspec-0.4.11 lib/serverspec/attributes.rb