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