Class: Acme::Smileage::Blog::Entry::Comment
- Inherits:
-
Object
- Object
- Acme::Smileage::Blog::Entry::Comment
- Defined in:
- lib/acme/smileage/blog/entry.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
Returns the value of attribute author.
-
#author_link ⇒ Object
Returns the value of attribute author_link.
-
#datetime ⇒ Object
Returns the value of attribute datetime.
-
#link ⇒ Object
Returns the value of attribute link.
-
#text ⇒ Object
Returns the value of attribute text.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Comment
constructor
A new instance of Comment.
Constructor Details
#initialize {|_self| ... } ⇒ Comment
Returns a new instance of Comment.
44 45 46 |
# File 'lib/acme/smileage/blog/entry.rb', line 44 def initialize yield self if block_given? end |
Instance Attribute Details
#author ⇒ Object
Returns the value of attribute author.
42 43 44 |
# File 'lib/acme/smileage/blog/entry.rb', line 42 def @author end |
#author_link ⇒ Object
Returns the value of attribute author_link.
42 43 44 |
# File 'lib/acme/smileage/blog/entry.rb', line 42 def @author_link end |
#datetime ⇒ Object
Returns the value of attribute datetime.
41 42 43 |
# File 'lib/acme/smileage/blog/entry.rb', line 41 def datetime @datetime end |
#link ⇒ Object
Returns the value of attribute link.
41 42 43 |
# File 'lib/acme/smileage/blog/entry.rb', line 41 def link @link end |
#text ⇒ Object
Returns the value of attribute text.
40 41 42 |
# File 'lib/acme/smileage/blog/entry.rb', line 40 def text @text end |
#title ⇒ Object
Returns the value of attribute title.
41 42 43 |
# File 'lib/acme/smileage/blog/entry.rb', line 41 def title @title end |