Class: JekyllPreModule::NoSelectTag
- Inherits:
-
JekyllSupport::JekyllTagNoArgParsing
- Object
- JekyllSupport::JekyllTagNoArgParsing
- JekyllPreModule::NoSelectTag
- Includes:
- JekyllPreVersion
- Defined in:
- lib/noselect_tag.rb
Overview
“”“{% noselect %} or {% noselect this all gets copied. Also, space before the closing percent is signficant %}”“”
Constant Summary
Constants included from JekyllPreVersion
Instance Method Summary collapse
Instance Method Details
#render_impl ⇒ Object
10 11 12 13 14 |
# File 'lib/noselect_tag.rb', line 10 def render_impl text = @argument_string text = '$ ' if text.nil? || text.empty? "<span class='unselectable'>#{text}</span>" end |