Method: Jars.setup
- Defined in:
- lib/jar_dependencies.rb
permalink .setup(options = nil) ⇒ Object
[View source]
226 227 228 229 230 231 232 233 234 235 236 237 |
# File 'lib/jar_dependencies.rb', line 226 def setup( = nil ) case when Symbol require_jars_lock!( ) when Hash @_jars_home = [:jars_home] @_jars_lock = [:jars_lock] require_jars_lock!( [:scope] || :runtime ) else require_jars_lock! end end |