class Slim::Embedded::Engine

Protected Instance Methods

collect_newlines(body) click to toggle source
# File lib/slim/embedded.rb, line 126
def collect_newlines(body)
  @newline_collector ||= NewlineCollector.new
  @newline_collector.call(body)
end
collect_text(body) click to toggle source
# File lib/slim/embedded.rb, line 121
def collect_text(body)
  @text_collector ||= TextCollector.new
  @text_collector.call(body)
end