Class: Context

Inherits:
ApplicationRecord show all
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

Instance Method Details

#to_sString

Returns title of this context

Returns:

  • (String)

    title of this context



28
29
30
# File 'app/models/context.rb', line 28

def to_s
  title
end