Class: CutePrint::RubyParser::ParsedCode Private
- Includes:
- WrapsSexp
- Defined in:
- lib/cute_print/ruby_parser/parsed_code.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
How this class works is cribbed this excellent code:
https://github.com/sconover/wrong/blob/30475fc5ac9d0f73135d229b1b44c045156a7e7a/lib/wrong/d.rb
Instance Method Summary collapse
Methods included from WrapsSexp
Instance Method Details
#first_call_to_method(method_name) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
17 18 19 |
# File 'lib/cute_print/ruby_parser/parsed_code.rb', line 17 def first_call_to_method(method_name) MethodCall.new(method_call_node(method_name)) end |