Class: Gemtext::SubHeading
Instance Attribute Summary
Attributes inherited from Node
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Node
#==, #deconstruct_keys, #initialize
Constructor Details
This class inherits a constructor from Gemtext::Node
Class Method Details
.[](content) ⇒ Object
3 4 5 |
# File 'lib/gemtext/sub_heading.rb', line 3 def self.[](content) new content end |
Instance Method Details
#inspect ⇒ Object
7 8 9 |
# File 'lib/gemtext/sub_heading.rb', line 7 def inspect "#{self.class}{#{content}}" end |