Class: Complement
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Complement
- Includes:
- FriendlyName, GuideContainer, TerminalNavigation
- Defined in:
- app/models/complement.rb
Instance Method Summary collapse
Methods included from TerminalNavigation
#friendly, #navigable_name, #navigation_end?
Methods included from FriendlyName
Methods included from GuideContainer
#friendly, #index_usage!, #start!, #timed?, #validate_accessible_for!
Methods inherited from ApplicationRecord
aggregate_of, all_except, defaults, name_model_as, numbered, #save, #save_and_notify!, #save_and_notify_changes!, #update_and_notify!, update_or_create!
Instance Method Details
#used_in?(organization) ⇒ Boolean
12 13 14 |
# File 'app/models/complement.rb', line 12 def used_in?(organization) organization.book == book end |