class CapistranoDirty::PatternMatch
Attributes
file_path[R]
pattern_name[R]
Public Class Methods
new(pattern_name, file_path)
click to toggle source
# File lib/capistrano_dirty/pattern_match.rb, line 4 def initialize(pattern_name, file_path) @pattern_name = pattern_name @file_path = file_path end
Public Instance Methods
==(other)
click to toggle source
# File lib/capistrano_dirty/pattern_match.rb, line 13 def ==(other) other.is_a?(CapistranoDirty::PatternMatch) && @pattern_name == other.pattern_name && @file_path == other.file_path end
to_s()
click to toggle source
# File lib/capistrano_dirty/pattern_match.rb, line 9 def to_s "#{@pattern_name} found in #{@file_path}" end