Module: Acmaker::DSL
- Defined in:
- lib/acmaker/dsl.rb,
lib/acmaker/dsl/context.rb,
lib/acmaker/dsl/converter.rb
Defined Under Namespace
Classes: Context, Converter
Class Method Summary
collapse
Class Method Details
.convert(exported, options = {}) ⇒ Object
4
5
6
|
# File 'lib/acmaker/dsl.rb', line 4
def convert(exported, options = {})
Acmaker::DSL::Converter.convert(exported, options)
end
|
.parse(dsl, path, options = {}) ⇒ Object
8
9
10
|
# File 'lib/acmaker/dsl.rb', line 8
def parse(dsl, path, options = {})
Acmaker::DSL::Context.eval(dsl, path, options).result
end
|