Class: Roy::RoyEngine

Inherits:
Object
  • Object
show all
Defined in:
lib/roy/roy_engine.rb

Instance Method Summary collapse

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, options)
  @file = file
  @options = 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