class Timelime::Head

Attributes

data[R]

Public Class Methods

new(raw) click to toggle source
# File lib/timelime/head.rb, line 9
def initialize raw
  if raw[0] == "#"
    raw = raw[1..-1]
  end
  @data = raw.strip
end

Public Instance Methods

to_s() click to toggle source
# File lib/timelime/head.rb, line 16
def to_s
  @data.to_s
end