class Rouge::Formatters::HTML
def safe_span(tok, safe_val)
Experimental RBS support (using type sampling data from the type_fusion
project).
def safe_span: (Class tok, String safe_val) -> String
This signature was generated using 105 samples from 2 applications.
def safe_span(tok, safe_val) if tok == Token::Tokens::Text safe_val else shortname = tok.shortname or raise "unknown token: #{tok.inspect} for #{safe_val.inspect}" "<span class=\"#{shortname}\">#{safe_val}</span>" end end