class Shipyard::Jekyll::Note
Public Class Methods
new(tag_name, type, options)
click to toggle source
Calls superclass method
# File lib/shipyard-framework/jekyll/tags/note_tag.rb, line 8 def initialize(tag_name, type, options) super @type = type.tr(':','').to_sym unless type.blank? end
Public Instance Methods
render(context)
click to toggle source
Calls superclass method
# File lib/shipyard-framework/jekyll/tags/note_tag.rb, line 13 def render(context) note @type, raw(super.strip) end