class Jekyll::FragmentBlockBody

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/jekyll-dry.rb, line 75
def initialize
  super
end

Public Instance Methods

whitespace_handler(token, parse_context) click to toggle source
# File lib/jekyll-dry.rb, line 79
def whitespace_handler(token, parse_context)
  return unless token =~ Jekyll::FragmentGenerator::FragmentSubPattern
  previous_token = @nodelist.last
  if previous_token.is_a? String
    # previous_token.rstrip!
  end
  parse_context.trim_whitespace = true
end