Class: GraphQL::Query::LegacyMaskWrap Private

Inherits:
Object
  • Object
show all
Defined in:
lib/graphql/query.rb

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.

Instance Method Summary collapse

Constructor Details

#initialize(inner_mask) ⇒ LegacyMaskWrap

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.

Returns a new instance of LegacyMaskWrap.



289
290
291
# File 'lib/graphql/query.rb', line 289

def initialize(inner_mask)
  @inner_mask = inner_mask
end

Instance Method Details

#call(member, ctx) ⇒ 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.



293
294
295
# File 'lib/graphql/query.rb', line 293

def call(member, ctx)
  @inner_mask.call(member)
end