Sha256: 9a4847f01bedcd8dd74441076d13c2ee955127f01659d1de6fad85256dab7e75

Contents?: true

Size: 236 Bytes

Versions: 68

Compression:

Stored size: 236 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

68 entries across 68 versions & 1 rubygems

Version Path
serverspec-0.11.5 lib/serverspec/attributes.rb
serverspec-0.11.4 lib/serverspec/attributes.rb
serverspec-0.11.3 lib/serverspec/attributes.rb
serverspec-0.11.2 lib/serverspec/attributes.rb
serverspec-0.11.1 lib/serverspec/attributes.rb
serverspec-0.11.0 lib/serverspec/attributes.rb
serverspec-0.10.13 lib/serverspec/attributes.rb
serverspec-0.10.12 lib/serverspec/attributes.rb
serverspec-0.10.11 lib/serverspec/attributes.rb
serverspec-0.10.10 lib/serverspec/attributes.rb
serverspec-0.10.9 lib/serverspec/attributes.rb
serverspec-0.10.8 lib/serverspec/attributes.rb
serverspec-0.10.7 lib/serverspec/attributes.rb
serverspec-0.10.6 lib/serverspec/attributes.rb
serverspec-0.10.5 lib/serverspec/attributes.rb
serverspec-0.10.4 lib/serverspec/attributes.rb
serverspec-0.10.3 lib/serverspec/attributes.rb
serverspec-0.10.2 lib/serverspec/attributes.rb
serverspec-0.10.1 lib/serverspec/attributes.rb
serverspec-0.10.0 lib/serverspec/attributes.rb