Class: GraphQL::Define::InstanceDefinable::Definition
- Inherits:
-
Object
- Object
- GraphQL::Define::InstanceDefinable::Definition
- Defined in:
- lib/graphql/define/instance_definable.rb
Instance Attribute Summary collapse
-
#define_keywords ⇒ Object
readonly
Returns the value of attribute define_keywords.
-
#define_proc ⇒ Object
readonly
Returns the value of attribute define_proc.
Instance Method Summary collapse
-
#initialize(define_keywords, define_proc) ⇒ Definition
constructor
A new instance of Definition.
Constructor Details
#initialize(define_keywords, define_proc) ⇒ Definition
Returns a new instance of Definition.
213 214 215 216 |
# File 'lib/graphql/define/instance_definable.rb', line 213 def initialize(define_keywords, define_proc) @define_keywords = define_keywords @define_proc = define_proc end |
Instance Attribute Details
#define_keywords ⇒ Object (readonly)
Returns the value of attribute define_keywords.
212 213 214 |
# File 'lib/graphql/define/instance_definable.rb', line 212 def define_keywords @define_keywords end |
#define_proc ⇒ Object (readonly)
Returns the value of attribute define_proc.
212 213 214 |
# File 'lib/graphql/define/instance_definable.rb', line 212 def define_proc @define_proc end |