Class: Prismic::Fragments::StructuredText::Span::Strong
- Inherits:
-
Prismic::Fragments::StructuredText::Span
- Object
- Prismic::Fragments::StructuredText::Span
- Prismic::Fragments::StructuredText::Span::Strong
- Defined in:
- lib/prismic/fragments/structured_text.rb
Instance Attribute Summary
Attributes inherited from Prismic::Fragments::StructuredText::Span
Instance Method Summary collapse
Methods inherited from Prismic::Fragments::StructuredText::Span
Constructor Details
This class inherits a constructor from Prismic::Fragments::StructuredText::Span
Instance Method Details
#serialize(text, link_resolver = nil) ⇒ Object
127 128 129 |
# File 'lib/prismic/fragments/structured_text.rb', line 127 def serialize(text, link_resolver = nil) "<strong>#{text}</strong>" end |