lib/coderay/encoders/html/output.rb
Ruby subshell command executionExecutes a command with Ruby backticks
SHA-2566aee38f1e6514fa34fedb7c54f2d11c78da0d30b146ad54cf628afff8e992033
MaleculeH₂(DbPo)
Evidence
1module CodeRay
2module Encoders
3
4 class HTML
5
6 # This module is included in the output String from thew HTML Encoder.
7 #
8 # It provides methods like wrap, div, page etc. …
33:9… end
34
35 # Raises an exception if an object that doesn't respond to to_str is extended by Output,
36 # to prevent users from misuse. Use Mo …
57:16… pper *wrappers
58 wrappers.each do |wrapper|
59 define_method wrapper do |*args|
60 wrap wrapper, *args
61 end
62 define_method "#{wrapper}!".to_sym do |*args|
157:8… xtend Template::Simple
158
159#-- don't include the templates in docu
160
161 SPAN = `<span class="CodeRay"><%CONTENT%></span>`
162
163 DIV = <<-`DIV`
⋯6 lines