Class: M3Uzi::Comment

Inherits:
Item
  • Object
show all
Defined in:
lib/m3uzi/comment.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Item

#valid?

Instance Attribute Details

#textObject

Returns the value of attribute text.



4
5
6
# File 'lib/m3uzi/comment.rb', line 4

def text
  @text
end

Instance Method Details

#formatObject



6
7
8
# File 'lib/m3uzi/comment.rb', line 6

def format
  "##{text}"
end