Class: Para::ComponentSection
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Para::ComponentSection
- Defined in:
- app/models/para/component_section.rb
Instance Method Summary collapse
Methods inherited from ApplicationRecord
with_belongs_to_optional_option_if_needed
Instance Method Details
#name ⇒ Object
11 12 13 14 15 16 |
# File 'app/models/para/component_section.rb', line 11 def name read_attribute(:name) || ::I18n.t( "components.section.#{identifier}", default: identifier.humanize ) end |