Class: Sass::Tree::ImportNode

Inherits:
Object
  • Object
show all
Defined in:
lib/scss_lint/sass/tree.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Boolean

Compares the names and values of two imports.

Parameters:

  • other (Object)

    The object to compare with

Returns:

  • (Boolean)

    Whether or not this node and the other object are the same



164
165
166
# File 'lib/scss_lint/sass/tree.rb', line 164

def ==(other)
  self.class == other.class && imported_filename == other.imported_filename && super
end