module Decidim::EnhancedTextwork::ParticipatoryTextSection

The data store for a Paragraph in the Decidim::EnhancedTextwork component.

Constants

LEVELS

Public Instance Methods

article?() click to toggle source

Public: is this section an :article?

# File lib/decidim/enhanced_textwork/participatory_text_section.rb, line 15
def article?
  participatory_text_level == LEVELS[:article]
end