Sha256: 31621e5944c6bbac063eadefc4926995a266fc3ad00686e8aa06034df830d418

Contents?: true

Size: 157 Bytes

Versions: 214

Compression:

Stored size: 157 Bytes

Contents

module Serverspec
  class Subject
    def value(v=nil)
      if v.nil?
        @value
      else
        @value = v
        self
      end
    end
  end
end

Version data entries

214 entries across 214 versions & 4 rubygems

Version Path
serverspec-2.12.0 lib/serverspec/subject.rb
serverspec-2.11.0 lib/serverspec/subject.rb
serverspec-2.10.2 lib/serverspec/subject.rb
serverspec-2.10.1 lib/serverspec/subject.rb
serverspec-2.10.0 lib/serverspec/subject.rb
serverspec-2.9.1 lib/serverspec/subject.rb
serverspec-2.9.0 lib/serverspec/subject.rb
serverspec-2.8.2 lib/serverspec/subject.rb
serverspec-2.8.1 lib/serverspec/subject.rb
serverspec-2.8.0 lib/serverspec/subject.rb
serverspec-2.7.2 lib/serverspec/subject.rb
serverspec-2.7.1 lib/serverspec/subject.rb
serverspec-2.7.0 lib/serverspec/subject.rb
serverspec-2.6.0 lib/serverspec/subject.rb
serverspec-2.5.0 lib/serverspec/subject.rb
serverspec-2.4.0 lib/serverspec/subject.rb
serverspec-2.3.1 lib/serverspec/subject.rb
serverspec-2.3.0 lib/serverspec/subject.rb
serverspec-2.2.0 lib/serverspec/subject.rb
serverspec-clc-2.1.0 lib/serverspec/subject.rb