class OpenStax::Content::Fragment::Reading

Public Class Methods

new(node:, title: nil, labels: nil, reference_view_url: nil) click to toggle source
Calls superclass method OpenStax::Content::Fragment::Html::new
# File lib/openstax/content/fragment/reading.rb, line 4
def initialize(node:, title: nil, labels: nil, reference_view_url: nil)
  super node: node, title: title, labels: labels

  @reference_view_url = reference_view_url
end