class Hermeneutics::PlainText
Public Class Methods
new(text)
click to toggle source
Calls superclass method
# File lib/hermeneutics/types.rb, line 27 def initialize text super gsub! /\s+/, " " strip! end
parse(str)
click to toggle source
# File lib/hermeneutics/types.rb, line 22 def parse str t = HeaderExt.decode str new t end
Public Instance Methods
encode()
click to toggle source
# File lib/hermeneutics/types.rb, line 35 def encode (HeaderExt.encode self).split end
quote()
click to toggle source
# File lib/hermeneutics/types.rb, line 32 def quote to_s end