Method: Otaku::Handler::Processor::MagicProc#code_fragments
- Defined in:
- lib/otaku/handler/processor.rb
#code_fragments ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'lib/otaku/handler/processor.rb', line 26 def code_fragments ignore, start_marker, arg = [:ignore, :start_marker, :arg].map{|key| code_match_args[key] } [ "proc #{start_marker} |#{arg}| ", source_code.sub(ignore, '') ] end |