Sha256: 1a932c0633b6b77ce4d62b7cef54dfbde40573314e1618a21be3ebf455af7b57

Contents?: true

Size: 236 Bytes

Versions: 6

Compression:

Stored size: 236 Bytes

Contents

require 'singleton'

module Serverspec
  class Properties
    include Singleton
    def initialize
      @prop = {}
    end
    def properties(prop=nil)
      if ! prop.nil?
        @prop = prop
      end
      @prop
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
serverspec-0.11.5 lib/serverspec/properties.rb
serverspec-0.11.4 lib/serverspec/properties.rb
serverspec-0.11.3 lib/serverspec/properties.rb
serverspec-0.11.2 lib/serverspec/properties.rb
serverspec-0.11.1 lib/serverspec/properties.rb
serverspec-0.11.0 lib/serverspec/properties.rb