module Sourcify::Method::Parser::RawScanner::Spec::GenericSupport
Public Class Methods
extended(base)
click to toggle source
# File lib/sourcify/spec/method/raw_scanner/spec_helper.rb, line 15 def self.extended(base) base.instance_eval do before do SCANNER.instance_eval do class << self alias_method :orig_stop_if_probably_defined_by_proc, :stop_if_probably_defined_by_proc def stop_if_probably_defined_by_proc; end end end end after do SCANNER.instance_eval do class << self alias_method :stop_if_probably_defined_by_proc, :orig_stop_if_probably_defined_by_proc end end end def process(data) SCANNER.process(data) SCANNER.tokens end end end
orig_stop_if_probably_defined_by_proc()
Also aliased as: stop_if_probably_defined_by_proc
Alias for: stop_if_probably_defined_by_proc
stop_if_probably_defined_by_proc()
click to toggle source
# File lib/sourcify/spec/method/raw_scanner/spec_helper.rb, line 23 def stop_if_probably_defined_by_proc; end
Also aliased as: orig_stop_if_probably_defined_by_proc
Public Instance Methods
process(data)
click to toggle source
# File lib/sourcify/spec/method/raw_scanner/spec_helper.rb, line 37 def process(data) SCANNER.process(data) SCANNER.tokens end