class Shoulda::Matchers::Graphql::Types::TypeMatcher

Attributes

type[R]

Public Class Methods

new() click to toggle source
# File lib/shoulda/matchers/graphql/types/type_matcher.rb, line 8
def initialize
  @subject = nil
end

Public Instance Methods

matches?(subject) click to toggle source
# File lib/shoulda/matchers/graphql/types/type_matcher.rb, line 12
def matches?(subject)
  @subject = subject
  self
end