Class: TargetBlankRenderer

Inherits:
Redcarpet::Render::HTML
  • Object
show all
Defined in:
app/helpers/application_helper.rb

Instance Method Summary collapse

Constructor Details

#initialize(extensions = {}) ⇒ TargetBlankRenderer

Returns a new instance of TargetBlankRenderer.


15
16
17
# File 'app/helpers/application_helper.rb', line 15

def initialize(extensions = {})
  super extensions.merge(:link_attributes => {:target => "_blank"})
end