Class: Gemtext::Whitespace

Inherits:
Node
  • Object
show all
Defined in:
lib/gemtext/whitespace.rb

Instance Attribute Summary

Attributes inherited from Node

#content

Class Method Summary collapse

Methods inherited from Node

#==, #deconstruct_keys, #initialize, #inspect

Constructor Details

This class inherits a constructor from Gemtext::Node

Class Method Details

.[](content) ⇒ Object



3
4
5
# File 'lib/gemtext/whitespace.rb', line 3

def self.[](content)
  new content
end