lib/sass/logger/log_level.rb in sass-3.3.0.alpha.3 vs lib/sass/logger/log_level.rb in sass-3.3.0.alpha.8
- old
+ new
@@ -34,16 +34,16 @@
log_levels.update(name => level)
define_logger(name)
end
def define_logger(name, options = {})
- class_eval %Q{
+ class_eval <<-RUBY, __FILE__, __LINE__ + 1
def #{name}(message)
#{options.fetch(:to, :log)}(#{name.inspect}, message)
end
- }
+ RUBY
end
end
end
end
-end
\ No newline at end of file
+end