Module: Diary::Item::Url

Included in:
Page, Post
Defined in:
lib/diary/item/url.rb

Instance Method Summary collapse

Instance Method Details



4
5
6
# File 'lib/diary/item/url.rb', line 4

def link(name)
  "<a href=\"#{website_path}\">#{name}</a>"
end