Module: Absinthe::Distillery::Context::Dsl
- Included in:
- Absinthe::Distillery::Context
- Defined in:
- lib/absinthe/distillery/context.rb
Instance Method Summary collapse
Instance Method Details
#[](name, *args) ⇒ Object
63 64 65 |
# File 'lib/absinthe/distillery/context.rb', line 63 def [] name, *args inject name, *args end |
#configure(&block) ⇒ Object
55 56 57 |
# File 'lib/absinthe/distillery/context.rb', line 55 def configure &block self.instance_eval &block end |
#const(name, value) ⇒ Object
59 60 61 |
# File 'lib/absinthe/distillery/context.rb', line 59 def const name, value register name, value end |