class GraphQL::Upgrader::ProcToClassMethodTransform::NamedProcProcessor::ProcToMethodSection
Attributes
inside_proc[RW]
proc_arg_names[RW]
proc_body_end[RW]
proc_body_start[RW]
proc_defn_end[RW]
proc_defn_indent[RW]
proc_defn_start[RW]
Public Class Methods
new()
click to toggle source
# File lib/graphql/upgrader/member.rb, line 310 def initialize # @proc_name_sym = proc_name.to_sym @proc_arg_names = nil # Beginning of the `#{proc_name} -> {...}` call @proc_defn_start = nil # End of the last `end/}` @proc_defn_end = nil # Amount of whitespace to insert to the rewritten body @proc_defn_indent = nil # First statement of the proc @proc_body_start = nil # End of last statement in the proc @proc_body_end = nil # Used for identifying the proper block @inside_proc = false end