Method: Brief::Briefcase#models_path
- Defined in:
- lib/brief/briefcase.rb
#models_path ⇒ Object
206 207 208 209 210 211 212 213 214 215 216 |
# File 'lib/brief/briefcase.rb', line 206 def models_path value = .fetch(:models_path) { config.models_path } if value.to_s.match(/\./) Pathname(Brief.pwd).join(value) elsif value.to_s.match(/\//) Pathname(value) else root.join(value) end end |