Class: GraphQL::Define::InstanceDefinable::Definition

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(define_keywords, define_proc) ⇒ Definition

Returns a new instance of Definition



215
216
217
218
# File 'lib/graphql/define/instance_definable.rb', line 215

def initialize(define_keywords, define_proc)
  @define_keywords = define_keywords
  @define_proc = define_proc
end

Instance Attribute Details

#define_keywordsObject (readonly)

Returns the value of attribute define_keywords



214
215
216
# File 'lib/graphql/define/instance_definable.rb', line 214

def define_keywords
  @define_keywords
end

#define_procObject (readonly)

Returns the value of attribute define_proc



214
215
216
# File 'lib/graphql/define/instance_definable.rb', line 214

def define_proc
  @define_proc
end