Method: GraphQL::Schema::Argument#description
- Defined in:
- lib/graphql/schema/argument.rb
#description(text = nil) ⇒ String
Returns Documentation for this argument.
130 131 132 133 134 135 136 |
# File 'lib/graphql/schema/argument.rb', line 130 def description(text = nil) if text @description = text else @description end end |