Class: Context
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Context
- Defined in:
- app/models/context.rb
Overview
Context represents the situation in which a subject is being considered. The Context determines what strategy we use to present a description of a subject. Examples of contexts include Web, Exhibitions, Poetry, Digital Interactive, Mobile, Audio Tour
Instance Method Summary collapse
-
#to_s ⇒ String
Title of this context.
Instance Method Details
#to_s ⇒ String
Returns title of this context
28 29 30 |
# File 'app/models/context.rb', line 28 def to_s title end |