Class: Prismic::Fragments::StructuredText::Span
- Inherits:
-
Object
- Object
- Prismic::Fragments::StructuredText::Span
- Defined in:
- lib/prismic/fragments/structured_text.rb
Defined Under Namespace
Classes: Em, Hyperlink, Label, Strong
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(start, finish) ⇒ Span
constructor
A new instance of Span.
Constructor Details
#initialize(start, finish) ⇒ Span
Returns a new instance of Span
103 104 105 106 |
# File 'lib/prismic/fragments/structured_text.rb', line 103 def initialize(start, finish) @start = start @end = finish end |