GitHub::Markup::Implementation
# File lib/github/markup/command_implementation.rb, line 14 def initialize(regexp, command, &block) super regexp @command = command.to_s @block = block end
# File lib/github/markup/command_implementation.rb, line 20 def render(content) rendered = execute(command, content) rendered = rendered.to_s.empty? ? content : rendered call_block(rendered, content) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.