Method: PDK::Util.module_root
- Defined in:
- lib/pdk/util.rb
.module_root ⇒ String?
Returns path to the root of the module being worked on.
99 100 101 102 103 104 105 106 |
# File 'lib/pdk/util.rb', line 99 def module_root = find_upwards('metadata.json') if File.dirname() else nil end end |