Class: OnyxCord::Interactions::Context::Proxy
- Inherits:
-
Object
- Object
- OnyxCord::Interactions::Context::Proxy
- Defined in:
- lib/onyxcord/interactions/context.rb
Instance Method Summary collapse
-
#initialize(command, method_name, args, kwargs, block) ⇒ Proxy
constructor
A new instance of Proxy.
- #to_h ⇒ Object
Constructor Details
#initialize(command, method_name, args, kwargs, block) ⇒ Proxy
Returns a new instance of Proxy.
95 96 97 98 99 100 101 |
# File 'lib/onyxcord/interactions/context.rb', line 95 def initialize(command, method_name, args, kwargs, block) @command = command @method_name = method_name @args = args @kwargs = kwargs @block = block end |
Instance Method Details
#to_h ⇒ Object
103 104 105 |
# File 'lib/onyxcord/interactions/context.rb', line 103 def to_h {} end |