class FrenchPress::Post::Youtube
Represents a youtube object.
Public Instance Methods
render()
click to toggle source
# File lib/frenchpress/post/youtube.rb, line 5 def render "<iframe width=\"480\" height=\"390\" " \ "src=\"https://www.youtube.com/embed/#{@content}\" " \ "frameborder=\"0\" allowfullscreen></iframe>" end