Method: Unitwise.data_file
- Defined in:
- lib/unitwise.rb
.data_file(key) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
A helper to get the location of a yaml data file
68 69 70 |
# File 'lib/unitwise.rb', line 68 def self.data_file(key) File.join path, 'data', "#{key}.yaml" end |