Method: Crabfarm::Adapters::Parser::Pincers.preprocess_parsing_target

Defined in:
lib/crabfarm/adapters/parser/pincers.rb

.preprocess_parsing_target(_target) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/crabfarm/adapters/parser/pincers.rb', line 13

def self.preprocess_parsing_target(_target)
  if _target.respond_to? :to_html
    _target.to_html
  else
    _target
  end
end