Sha256: 9afc7bf163264dedb2a61a9056c0da78a78ae8b6df9768a03c2ab3c23554cff3
Contents?: true
Size: 453 Bytes
Versions: 3
Compression:
Stored size: 453 Bytes
Contents
module Support ## # Responsible for provide relative paths to support files # Files located under: /lib/plugin/pre-commit/support/checkstyle* module Path ## # Return support path relative to a given +file+ # # @param file [String] file name # @return [String] formatted path def self.relative_to(file) File.expand_path( "../../../../resources/checkstyle/#{file}", __FILE__ ) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
java-checkstyle-1.0.5 | lib/plugins/pre-commit/support/path.rb |
java-checkstyle-1.0.4 | lib/plugins/pre-commit/support/path.rb |
java-checkstyle-1.0.3 | lib/plugins/pre-commit/support/path.rb |