class Fable::Tag

Attributes

text[RW]

Public Class Methods

new(tag_text) click to toggle source
Calls superclass method Fable::RuntimeObject::new
# File lib/fable/tag.rb, line 5
def initialize(tag_text)
  super()
  self.text = tag_text
end

Public Instance Methods

to_s() click to toggle source
# File lib/fable/tag.rb, line 10
def to_s
  return "# #{self.text}"
end