lib/librarian/dsl.rb in librarian-0.0.24 vs lib/librarian/dsl.rb in librarian-0.0.25

- old
+ new

@@ -1,15 +1,12 @@ require 'librarian/dependency' require 'librarian/dsl/receiver' require 'librarian/dsl/target' -require 'librarian/helpers/debug' module Librarian class Dsl - include Helpers::Debug - class Error < Exception end attr_accessor :environment private :environment= @@ -97,9 +94,15 @@ source_cache.each do |key, value| type = key[0] attributes = key[1...key.size] debug { " #{key.inspect}" } end + end + + private + + def debug(*args, &block) + environment.logger.debug(*args, &block) end end end