Class: Rails::CssUnused::StylesheetScanner::DefinedClass

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails/css_unused/stylesheet_scanner.rb

Overview

Result struct — class name plus the file it was found in.

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



43
44
45
# File 'lib/rails/css_unused/stylesheet_scanner.rb', line 43

def name
  @name
end

#source_fileObject

Returns the value of attribute source_file

Returns:

  • (Object)

    the current value of source_file



43
44
45
# File 'lib/rails/css_unused/stylesheet_scanner.rb', line 43

def source_file
  @source_file
end