Sha256: 8987da659a688b1dbd6eb4cefdc1910b6c0129aef851d5047d1e4b5c58c851b0

Contents?: true

Size: 287 Bytes

Versions: 5

Compression:

Stored size: 287 Bytes

Contents

module Spout
  module Models
    # Subject encapsulates records for individuals specified by an identifier
    class Subject
      attr_accessor :_visit, :_csv

      def self.create
        subject = new
        yield subject if block_given?
        subject
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spout-0.11.0 lib/spout/models/subject.rb
spout-0.11.0.rc lib/spout/models/subject.rb
spout-0.11.0.beta3 lib/spout/models/subject.rb
spout-0.11.0.beta2 lib/spout/models/subject.rb
spout-0.11.0.beta1 lib/spout/models/subject.rb