Class: Acme::Smileage::Blog::Entry::Comment

Inherits:
Object
  • Object
show all
Defined in:
lib/acme/smileage/blog/entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Comment

Returns a new instance of Comment.

Yields:

  • (_self)

Yield Parameters:



44
45
46
# File 'lib/acme/smileage/blog/entry.rb', line 44

def initialize
  yield self if block_given?
end

Instance Attribute Details

#authorObject

Returns the value of attribute author.



42
43
44
# File 'lib/acme/smileage/blog/entry.rb', line 42

def author
  @author
end

Returns the value of attribute author_link.



42
43
44
# File 'lib/acme/smileage/blog/entry.rb', line 42

def author_link
  @author_link
end

#datetimeObject

Returns the value of attribute datetime.



41
42
43
# File 'lib/acme/smileage/blog/entry.rb', line 41

def datetime
  @datetime
end

Returns the value of attribute link.



41
42
43
# File 'lib/acme/smileage/blog/entry.rb', line 41

def link
  @link
end

#textObject

Returns the value of attribute text.



40
41
42
# File 'lib/acme/smileage/blog/entry.rb', line 40

def text
  @text
end

#titleObject

Returns the value of attribute title.



41
42
43
# File 'lib/acme/smileage/blog/entry.rb', line 41

def title
  @title
end