Class: Spout::Models::Subject
- Inherits:
-
Object
- Object
- Spout::Models::Subject
- Defined in:
- lib/spout/models/subject.rb
Overview
Subject encapsulates records for individuals specified by an identifier
Instance Attribute Summary collapse
-
#_csv ⇒ Object
Returns the value of attribute _csv.
-
#_visit ⇒ Object
Returns the value of attribute _visit.
Class Method Summary collapse
Instance Attribute Details
#_csv ⇒ Object
Returns the value of attribute _csv.
7 8 9 |
# File 'lib/spout/models/subject.rb', line 7 def _csv @_csv end |
#_visit ⇒ Object
Returns the value of attribute _visit.
7 8 9 |
# File 'lib/spout/models/subject.rb', line 7 def _visit @_visit end |
Class Method Details
.create {|subject| ... } ⇒ Object
9 10 11 12 13 |
# File 'lib/spout/models/subject.rb', line 9 def self.create subject = new yield subject if block_given? subject end |