Module: Outil
- Defined in:
- lib/outil.rb,
lib/outil/ocs.rb,
lib/outil/version.rb,
lib/outil/ocs/index.rb,
lib/outil/workspace.rb,
lib/outil/decorators.rb,
lib/outil/ocs/config.rb,
lib/outil/ocs/parser.rb,
lib/outil/ocs/serialize.rb
Defined Under Namespace
Modules: Decorators, Inferace, OCS
Classes: Workspace
Constant Summary
collapse
- VERSION =
"0.1"
Class Method Summary
collapse
Class Method Details
.included(base) ⇒ Object
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# File 'lib/outil.rb', line 27
def self.included(base)
base.extend(Inferace)
base.class_eval do
use Decorators::Register
named :outil
end
Workspace.ocs.index.all.each do |ast|
Outil.module_eval " \#{Unparser.unparse(ast)}\n RUBY_EVAL\n end\nend\n"
|
.index ⇒ Object
19
20
21
|
# File 'lib/outil.rb', line 19
def self.index
Workspace.ocs.index
end
|
.reset! ⇒ Object
23
24
25
|
# File 'lib/outil.rb', line 23
def self.reset!
Workspace.reset!
end
|