File: properties.rb

package info (click to toggle)
ruby-specinfra 2.94.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,464 kB
  • sloc: ruby: 10,562; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 235 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'singleton'

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