Module: Support::Path
- Defined in:
- lib/plugins/pre_commit/support/path.rb
Overview
Responsible for provide relative paths to support files Files located under: /lib/plugin/pre_commit/support/checkstyle*
Class Method Summary collapse
-
.relative_to(file) ⇒ String
Return support path relative to a given
file
.
Class Method Details
.relative_to(file) ⇒ String
Return support path relative to a given file
13 14 15 16 17 18 |
# File 'lib/plugins/pre_commit/support/path.rb', line 13 def self.relative_to(file) File.( "../../../../resources/checkstyle/#{file}", __FILE__ ) end |