class GraphQL::Compatibility::ExecutionSpecification::SpecificationSchema::CustomCollection

A list object must implement each

Public Class Methods

new(storage) click to toggle source
# File lib/graphql/compatibility/execution_specification/specification_schema.rb, line 41
def initialize(storage)
  @storage = storage
end

Public Instance Methods

each() { |i| ... } click to toggle source
# File lib/graphql/compatibility/execution_specification/specification_schema.rb, line 45
def each
  @storage.each { |i| yield(i) }
end