Method: GraphQL::Schema::Member::HasDirectives#remove_directive
- Defined in:
- lib/graphql/schema/member/has_directives.rb
#remove_directive(dir_class) ⇒ viod
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.
Remove an attached instance of dir_class, if there is one
31 32 33 34 |
# File 'lib/graphql/schema/member/has_directives.rb', line 31 def remove_directive(dir_class) HasDirectives.remove_directive(@own_directives, dir_class) nil end |