Class: Aardi::HomeFooterLinks
- Inherits:
-
Object
- Object
- Aardi::HomeFooterLinks
- Defined in:
- lib/aardi/home_footer_links.rb
Instance Method Summary collapse
-
#initialize(blog_path) ⇒ HomeFooterLinks
constructor
A new instance of HomeFooterLinks.
- #to_s ⇒ Object
Constructor Details
#initialize(blog_path) ⇒ HomeFooterLinks
Returns a new instance of HomeFooterLinks.
5 6 7 |
# File 'lib/aardi/home_footer_links.rb', line 5 def initialize(blog_path) @blog_path = blog_path end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/aardi/home_footer_links.rb', line 9 def to_s "**More:** [Archive](#{archive_url}), [RSS](#{rss_url}), [JSON](#{json_url})" end |