Class: SeriesStatement
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- SeriesStatement
- Defined in:
- app/models/series_statement.rb
Instance Attribute Summary collapse
-
#selected ⇒ Object
Returns the value of attribute selected.
Instance Method Summary collapse
Instance Attribute Details
#selected ⇒ Object
Returns the value of attribute selected.
21 22 23 |
# File 'app/models/series_statement.rb', line 21 def selected @selected end |
Instance Method Details
#create_root_series_statement ⇒ Object
33 34 35 36 37 38 39 |
# File 'app/models/series_statement.rb', line 33 def create_root_series_statement if series_master? self.root_manifestation = manifestation else self.root_manifestation = nil end end |
#titles ⇒ Object
26 27 28 29 30 31 |
# File 'app/models/series_statement.rb', line 26 def titles [ original_title, title_transcription ] end |