Sha256: 17d75f56699729ef157b48e885ef56f22edb858d300a4cc12d041df0383a09cf
Contents?: true
Size: 451 Bytes
Versions: 1
Compression:
Stored size: 451 Bytes
Contents
module RuboCop module Git class PseudoResource attr_reader :patch, :pwd, :file_relative_path alias filename file_relative_path def initialize(file_relative_path, pwd = Dir.pwd) @file_relative_path = file_relative_path @pwd = pwd @patch = '' end def absolute_path filename File.join(pwd, filename) end def status 'modified' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubocop-git2-0.1.4 | lib/rubocop/git/pseudo_resource.rb |