expansions 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/core/kernel.rb +4 -4
- data/lib/core/version.rb +1 -1
- metadata +1 -1
data/lib/core/kernel.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Kernel
|
2
2
|
def expand(title = "Expansion",&block)
|
3
|
-
|
3
|
+
Expansions::Expansion.instance.instance_eval(&block)
|
4
4
|
end
|
5
5
|
|
6
6
|
def glob(path)
|
@@ -10,11 +10,11 @@ module Kernel
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def disable_logging
|
13
|
-
|
13
|
+
Expansions::Expander::Log.disable
|
14
14
|
end
|
15
15
|
|
16
16
|
def enable_logging
|
17
|
-
|
17
|
+
Expansions::Expander::Log.enable
|
18
18
|
end
|
19
19
|
|
20
20
|
def delayed
|
@@ -30,6 +30,6 @@ module Kernel
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def log(message)
|
33
|
-
|
33
|
+
Expansions::Expander::Log.message(message)
|
34
34
|
end
|
35
35
|
end
|
data/lib/core/version.rb
CHANGED