Class: GraphQL::Upgrader::PropertyToMethodTransform
- Defined in:
 - lib/graphql/upgrader/member.rb
 
Overview
Transform property: kwarg to method: kwarg
Instance Method Summary collapse
Methods inherited from Transform
#apply_processor, #normalize_type_expression, #reindent_lines, #trim_lines, #underscorize
Instance Method Details
#apply(input_text) ⇒ Object
      237 238 239  | 
    
      # File 'lib/graphql/upgrader/member.rb', line 237 def apply(input_text) input_text.gsub /property:/, 'method:' end  |