Sha256: 3dd2b08ade2578e55f7a4d44f9d73e393106646041ef494fdbf0b02f4a508168

Contents?: true

Size: 648 Bytes

Versions: 324

Compression:

Stored size: 648 Bytes

Contents

module Sass::Tree
  # A static node representing an unproccessed Sass `@`-directive.
  # Directives known to Sass, like `@for` and `@debug`,
  # are handled by their own nodes;
  # only CSS directives like `@media` and `@font-face` become {DirectiveNode}s.
  #
  # `@import` and `@charset` are special cases;
  # they become {ImportNode}s and {CharsetNode}s, respectively.
  #
  # @see Sass::Tree
  class DirectiveNode < Node
    # The text of the directive, `@` and all.
    #
    # @return [String]
    attr_accessor :value

    # @param value [String] See \{#value}
    def initialize(value)
      @value = value
      super()
    end
  end
end

Version data entries

324 entries across 133 versions & 7 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/sass-3.1.17/lib/sass/tree/directive_node.rb
classiccms-0.7.5 vendor/bundle/gems/sass-3.1.15/lib/sass/tree/directive_node.rb
classiccms-0.7.5 vendor/bundle/gems/haml-3.1.5/vendor/sass/lib/sass/tree/directive_node.rb
classiccms-0.7.5 vendor/bundle/gems/haml-3.1.4/vendor/sass/lib/sass/tree/directive_node.rb
classiccms-0.7.5 vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/directive_node.rb
classiccms-0.7.4 vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/directive_node.rb
classiccms-0.7.4 vendor/bundle/gems/sass-3.1.15/lib/sass/tree/directive_node.rb
classiccms-0.7.4 vendor/bundle/gems/haml-3.1.4/vendor/sass/lib/sass/tree/directive_node.rb
classiccms-0.7.4 vendor/bundle/gems/sass-3.1.17/lib/sass/tree/directive_node.rb
classiccms-0.7.4 vendor/bundle/gems/haml-3.1.5/vendor/sass/lib/sass/tree/directive_node.rb
classiccms-0.7.3 vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/directive_node.rb
classiccms-0.7.3 vendor/bundle/gems/sass-3.1.15/lib/sass/tree/directive_node.rb
classiccms-0.7.3 vendor/bundle/gems/haml-3.1.5/vendor/sass/lib/sass/tree/directive_node.rb
classiccms-0.7.3 vendor/bundle/gems/sass-3.1.17/lib/sass/tree/directive_node.rb
classiccms-0.7.3 vendor/bundle/gems/haml-3.1.4/vendor/sass/lib/sass/tree/directive_node.rb
torquebox-console-0.3.0 vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/directive_node.rb
classiccms-0.7.2 vendor/bundle/gems/haml-3.1.6/vendor/sass/lib/sass/tree/directive_node.rb
classiccms-0.7.2 vendor/bundle/gems/haml-3.1.4/vendor/sass/lib/sass/tree/directive_node.rb
classiccms-0.7.2 vendor/bundle/gems/sass-3.1.15/lib/sass/tree/directive_node.rb
classiccms-0.7.2 vendor/bundle/gems/sass-3.1.17/lib/sass/tree/directive_node.rb