Class: Paradin::Context
- Inherits:
-
Object
- Object
- Paradin::Context
- Defined in:
- lib/paradin/context.rb
Instance Method Summary collapse
- #args ⇒ Object
-
#initialize(*args, **kwargs) ⇒ Context
constructor
A new instance of Context.
- #kwargs ⇒ Object
Constructor Details
#initialize(*args, **kwargs) ⇒ Context
Returns a new instance of Context.
8 9 10 11 |
# File 'lib/paradin/context.rb', line 8 def initialize(*args, **kwargs) @args = serialize(args) @kwargs = serialize(kwargs) end |
Instance Method Details
#args ⇒ Object
13 14 15 |
# File 'lib/paradin/context.rb', line 13 def args deserialize(@args) end |
#kwargs ⇒ Object
17 18 19 |
# File 'lib/paradin/context.rb', line 17 def kwargs deserialize(@kwargs) end |