Module: TerminalNavigation

Included in:
Chapter, Complement, Exam, ExamAuthorizationRequest, ExamRegistration
Defined in:
app/models/concerns/navigation/terminal_navigation.rb

Instance Method Summary collapse

Instance Method Details

#friendlyObject



6
7
8
# File 'app/models/concerns/navigation/terminal_navigation.rb', line 6

def friendly
  name
end


10
11
12
# File 'app/models/concerns/navigation/terminal_navigation.rb', line 10

def navigable_name
  name
end

Returns:

  • (Boolean)


2
3
4
# File 'app/models/concerns/navigation/terminal_navigation.rb', line 2

def navigation_end?
  true
end

#next_for(_user) ⇒ Object



22
23
24
# File 'app/models/concerns/navigation/terminal_navigation.rb', line 22

def next_for(_user)
  nil
end

#siblingsObject



18
19
20
# File 'app/models/concerns/navigation/terminal_navigation.rb', line 18

def siblings
  []
end

#structural_parentObject



14
15
16
# File 'app/models/concerns/navigation/terminal_navigation.rb', line 14

def structural_parent
  nil
end