Class: SerializableProc::Parsers::Static
- Defined in:
- lib/serializable_proc/parsers/static.rb
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.matchers ⇒ Object
15 16 17 |
# File 'lib/serializable_proc/parsers/static.rb', line 15 def matchers @matchers ||= [] end |
.process(klass, file, line) ⇒ Object
9 10 11 12 13 |
# File 'lib/serializable_proc/parsers/static.rb', line 9 def process(klass, file, line) const_set(:RUBY_PARSER, RubyParser.new) unless const_defined?(:RUBY_PARSER) @klass, @file, @line = klass, file, line extract_code_and_sexp end |