Class: Roy::RoyEngine
- Inherits:
-
Object
- Object
- Roy::RoyEngine
- Defined in:
- lib/roy/roy_engine.rb
Instance Method Summary collapse
- #compile(data) ⇒ Object
-
#initialize(file, options) ⇒ RoyEngine
constructor
A new instance of RoyEngine.
Constructor Details
#initialize(file, options) ⇒ RoyEngine
Returns a new instance of RoyEngine.
3 4 5 6 |
# File 'lib/roy/roy_engine.rb', line 3 def initialize(file, ) @file = file @options = end |
Instance Method Details
#compile(data) ⇒ Object
8 9 10 |
# File 'lib/roy/roy_engine.rb', line 8 def compile(data) Roy.compile(data) end |