class FrenchPress::Post::Link

Represents a link post

Public Instance Methods

render() click to toggle source
# File lib/frenchpress/post/link.rb, line 5
def render
  "<h2><a href=\"#{@content}\">" \
    "#{@content.delete('http://').delete('https://')}</a></h2>"
end