123456789_123456789_123456789_123456789_123456789_

Module: GraphQL::Client::LazyName

Relationships & Source Files
Defined in: lib/graphql/client.rb

Overview

Internal: FragmentSpread and FragmentDefinition extension to allow its name to point to a lazily defined Proc instead of a static string.

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#_definition=(value) (writeonly)

[ GitHub ]

  
# File 'lib/graphql/client.rb', line 393

attr_writer :_definition

Instance Method Details

#name

[ GitHub ]

  
# File 'lib/graphql/client.rb', line 389

def name
  @_definition.definition_name
end