Module: GraphQL::Client::LazyName
- 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 collapse
-
#_definition ⇒ Object
writeonly
Sets the attribute _definition.
Instance Method Summary collapse
Instance Attribute Details
#_definition=(value) ⇒ Object (writeonly)
Sets the attribute _definition
399 400 401 |
# File 'lib/graphql/client.rb', line 399 def _definition=(value) @_definition = value end |
Instance Method Details
#name ⇒ Object
395 396 397 |
# File 'lib/graphql/client.rb', line 395 def name @_definition.definition_name end |