class Wikitree::Text
Public Class Methods
new( text )
click to toggle source
# File lib/wikitree/nodes.rb, line 11 def initialize( text ) @text = text end
Public Instance Methods
inspect()
click to toggle source
# File lib/wikitree/nodes.rb, line 21 def inspect @text.inspect end
to_text()
click to toggle source
# File lib/wikitree/nodes.rb, line 15 def to_text ## todo: fix remove possible html stuff - why? why not? @text end
to_wiki()
click to toggle source
# File lib/wikitree/nodes.rb, line 19 def to_wiki() @text; end