Class: WithStudentPathNavigation::ContinueNavigation

Inherits:
Navigation
  • Object
show all
Defined in:
app/helpers/concerns/with_student_path_navigation/continue_navigation.rb

Direct Known Subclasses

NextParentNavigation

Instance Method Summary collapse

Methods inherited from Navigation

#button, #initialize, #link_icon, #merge_confirmation_classes, #method_missing

Constructor Details

This class inherits a constructor from WithStudentPathNavigation::Navigation

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class WithStudentPathNavigation::Navigation

Instance Method Details

#clazzObject



15
16
17
# File 'app/helpers/concerns/with_student_path_navigation/continue_navigation.rb', line 15

def clazz
  'btn btn-complementary w-100'
end

#iconObject



7
8
9
# File 'app/helpers/concerns/with_student_path_navigation/continue_navigation.rb', line 7

def icon
  'chevron-right'
end

#keyObject



11
12
13
# File 'app/helpers/concerns/with_student_path_navigation/continue_navigation.rb', line 11

def key
  :navigation_continue
end

#rightObject



3
4
5
# File 'app/helpers/concerns/with_student_path_navigation/continue_navigation.rb', line 3

def right
  true
end

#sibling_for(navigable) ⇒ Object



19
20
21
# File 'app/helpers/concerns/with_student_path_navigation/continue_navigation.rb', line 19

def sibling_for(navigable)
  navigable.next_for(current_user)
end