Class: GraphQL::BackwardsCompatibility::LastArgumentsWrapper Private
- Inherits:
-
FirstArgumentsWrapper
- Object
- FirstArgumentsWrapper
- GraphQL::BackwardsCompatibility::LastArgumentsWrapper
- Defined in:
- lib/graphql/backwards_compatibility.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
- #call(*args) ⇒ Object private
Methods inherited from FirstArgumentsWrapper
Constructor Details
This class inherits a constructor from GraphQL::BackwardsCompatibility::FirstArgumentsWrapper
Instance Method Details
#call(*args) ⇒ 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.
55 56 57 58 |
# File 'lib/graphql/backwards_compatibility.rb', line 55 def call(*args) backwards_compat_args = args.last(@old_arity) @callable.call(*backwards_compat_args) end |