lib/ernie.rb in ernie-1.3.0 vs lib/ernie.rb in ernie-2.0.0

- old
+ new

@@ -9,11 +9,11 @@ end self.mods = {} self.current_mod = nil self.log = Logger.new(STDOUT) - self.log.level = Logger::INFO + self.log.level = Logger::FATAL self.auto_start = true # Record a module. # +name+ is the module Symbol # +block+ is the Block containing function definitions @@ -186,17 +186,9 @@ self.funs[name] = block end end # Root level calls - -def mod(name, &block) - Ernie.mod(name, block) -end - -def fun(name, &block) - Ernie.fun(name, block) -end def logfile(name) Ernie.logfile(name) end