Class: RTM::TMQL::Engine
- Inherits:
-
Object
- Object
- RTM::TMQL::Engine
- Defined in:
- lib/rtm/tmql.rb
Overview
A TMQL Engine. Every TMQL-Engine for RTM must subclass this class.
Direct Known Subclasses
Class Method Summary collapse
-
.create(params = {}) ⇒ Object
Create a new TMQL-Engine.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Engine
constructor
A new instance of Engine.
Constructor Details
#initialize(params = {}) ⇒ Engine
Returns a new instance of Engine.
46 47 48 |
# File 'lib/rtm/tmql.rb', line 46 def initialize(params={}) @params = params end |
Class Method Details
.create(params = {}) ⇒ Object
Create a new TMQL-Engine. For now, this is hard-coded to TMQL4J. Once there are more engines, this structure could be similar to RTM::Engine
42 43 44 |
# File 'lib/rtm/tmql.rb', line 42 def self.create(params={}) TMQL4JEngine.new(params) end |