Class: Ruote::TestContext
Overview
A minimal context, useful for testing expressions in isolation.
Constant Summary
Constants inherited from Context
Instance Attribute Summary
Attributes inherited from Context
Instance Method Summary collapse
-
#initialize ⇒ TestContext
constructor
A new instance of TestContext.
Methods inherited from Context
#[], #[]=, #add_service, #context, #engine_id, #has_service?, #keys, #notify, #pre_notify, #services, #shutdown, #worker
Constructor Details
#initialize ⇒ TestContext
Returns a new instance of TestContext.
279 280 281 282 283 |
# File 'lib/ruote/context.rb', line 279 def initialize @services = {} initialize_services end |