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.4.10 lib/serverspec/attributes.rb
serverspec-0.4.9 lib/serverspec/attributes.rb
serverspec-0.4.8 lib/serverspec/attributes.rb
serverspec-0.4.7 lib/serverspec/attributes.rb
serverspec-0.4.6 lib/serverspec/attributes.rb
serverspec-0.4.5 lib/serverspec/attributes.rb
serverspec-0.4.4 lib/serverspec/attributes.rb
serverspec-0.4.3 lib/serverspec/attributes.rb
serverspec-0.4.2 lib/serverspec/attributes.rb
serverspec-0.4.1 lib/serverspec/attributes.rb
serverspec-0.4.0 lib/serverspec/attributes.rb
serverspec-0.3.2 lib/serverspec/attributes.rb
serverspec-0.3.1 lib/serverspec/attributes.rb
serverspec-0.3.0 lib/serverspec/attributes.rb