Class: Browsable::HtmlExtractor::InlineBlock

Inherits:
Data
  • Object
show all
Defined in:
lib/browsable/html_extractor.rb

Overview

content — the textual body of an inline <style> or <script> kind — :css or :js

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



21
22
23
# File 'lib/browsable/html_extractor.rb', line 21

def content
  @content
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



21
22
23
# File 'lib/browsable/html_extractor.rb', line 21

def kind
  @kind
end