Sha256: 8d9fb3bdcae7a9c87d5fc28e61040b634e79d175cb23b79aafe5a94aadc0e1b3

Contents?: true

Size: 411 Bytes

Versions: 17

Compression:

Stored size: 411 Bytes

Contents

module Sass
  module Tree
    class DebugNode < Node
      def initialize(expr)
        @expr = expr
        super()
      end

      protected

      def _perform(environment)
        res = @expr.perform(environment)
        if filename
          STDERR.puts "#{filename}:#{line} DEBUG: #{res}"
        else
          STDERR.puts "Line #{line} DEBUG: #{res}"
        end
        []
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
gohanlonllc-haml-2.1.0.20080513000000 lib/sass/tree/debug_node.rb
gohanlonllc-haml-2.1.0 lib/sass/tree/debug_node.rb
haml-edge-2.1.10 lib/sass/tree/debug_node.rb
haml-edge-2.1.11 lib/sass/tree/debug_node.rb
haml-edge-2.1.12 lib/sass/tree/debug_node.rb
haml-edge-2.1.14 lib/sass/tree/debug_node.rb
haml-edge-2.1.18 lib/sass/tree/debug_node.rb
haml-edge-2.1.20 lib/sass/tree/debug_node.rb
haml-edge-2.1.21 lib/sass/tree/debug_node.rb
haml-edge-2.1.17 lib/sass/tree/debug_node.rb
haml-edge-2.1.15 lib/sass/tree/debug_node.rb
haml-edge-2.1.19 lib/sass/tree/debug_node.rb
haml-edge-2.1.13 lib/sass/tree/debug_node.rb
haml-edge-2.1.16 lib/sass/tree/debug_node.rb
haml-edge-2.1.9 lib/sass/tree/debug_node.rb
haml-edge-2.1.8 lib/sass/tree/debug_node.rb
haml-edge-2.1.7 lib/sass/tree/debug_node.rb