class Albacore::Tasks::ProjectLint::FileReference
since msbuild projects have a habit of ignoring case differences, lets use downcase for comparison in windows / and \ can sometimes be used interchangeably
Attributes
downcase_and_path_replaced[R]
file[R]
Public Class Methods
new(file)
click to toggle source
# File lib/albacore/tasks/projectlint.rb, line 19 def initialize file @file = file @downcase_and_path_replaced = @file.downcase.gsub(/\//,'\\') end
Public Instance Methods
==(other)
click to toggle source
# File lib/albacore/tasks/projectlint.rb, line 23 def ==(other) other.downcase_and_path_replaced == @downcase_and_path_replaced end
Also aliased as: eql?
hash()
click to toggle source
# File lib/albacore/tasks/projectlint.rb, line 27 def hash @downcase_and_path_replaced.hash end
to_s()
click to toggle source
# File lib/albacore/tasks/projectlint.rb, line 30 def to_s @file end