Module: Macros
- Defined in:
- lib/macros.rb,
lib/macros/sexp.rb,
lib/macros/loader.rb,
lib/macros/compiler.rb,
lib/macros/expander.rb
Defined Under Namespace
Modules: Sexp
Classes: Compiler, Expander, Loader
Constant Summary
collapse
- NotFound =
Module.new.freeze
Class Method Summary
collapse
Class Method Details
.parse(string) ⇒ Object
12
13
14
|
# File 'lib/macros.rb', line 12
def self.parse(string)
Parser::CurrentRuby.parse(string)
end
|
.require(path) ⇒ Object
16
17
18
19
|
# File 'lib/macros.rb', line 16
def self.require(path)
@loader ||= Loader.new
@loader.require(path)
end
|