Class: FrenchPress::Post::Youtube
- Inherits:
-
Object
- Object
- FrenchPress::Post::Youtube
- Defined in:
- lib/frenchpress/post/youtube.rb
Overview
Represents a youtube object.
Instance Method Summary collapse
Instance Method Details
#render ⇒ Object
5 6 7 8 9 |
# 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 |