Class: Miam::DSL

Inherits:
Object
  • Object
show all
Defined in:
lib/miam/dsl.rb

Defined Under Namespace

Classes: Context, Converter

Class Method Summary collapse

Class Method Details

.convert(exported, options = {}) ⇒ Object



2
3
4
# File 'lib/miam/dsl.rb', line 2

def self.convert(exported, options = {})
  Miam::DSL::Converter.convert(exported, options)
end

.parse(dsl, path, options = {}) ⇒ Object



6
7
8
# File 'lib/miam/dsl.rb', line 6

def self.parse(dsl, path, options = {})
  Miam::DSL::Context.eval(dsl, path, options).result
end