Class: Obp::Access::Renderer::Elements::Introduction
- Inherits:
-
Base
- Object
- Base
- Obp::Access::Renderer::Elements::Introduction
show all
- Defined in:
- lib/obp/access/elements/introduction.rb
Instance Attribute Summary
Attributes inherited from Base
#document, #metas, #node
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #render
Class Method Details
.classes ⇒ Object
6
7
8
|
# File 'lib/obp/access/elements/introduction.rb', line 6
def self.classes
%w[sts-section]
end
|
Instance Method Details
#match_node? ⇒ Boolean
10
11
12
|
# File 'lib/obp/access/elements/introduction.rb', line 10
def match_node?
super && %w[foreword intro].include?(id)
end
|