Class: LockJar::Domain::JarfileDsl
- Defined in:
- lib/lock_jar/domain/jarfile_dsl.rb
Overview
Jarfile DSL
Direct Known Subclasses
Constant Summary
Constants inherited from Dsl
Instance Attribute Summary collapse
-
#file_path ⇒ Object
Returns the value of attribute file_path.
Attributes inherited from Dsl
#artifacts, #clear_repositories, #excludes, #groups, #local_repository, #maps, #merged, #remote_repositories
Class Method Summary collapse
Methods inherited from Dsl
evaluate, #exclude, #group, #initialize, #jar, #local, #local_repo, #map, #pom, #remote_repo, #scope, #without_default_maven_repo
Constructor Details
This class inherits a constructor from LockJar::Domain::Dsl
Instance Attribute Details
#file_path ⇒ Object
Returns the value of attribute file_path.
23 24 25 |
# File 'lib/lock_jar/domain/jarfile_dsl.rb', line 23 def file_path @file_path end |
Class Method Details
.create(jarfile) ⇒ Object
26 27 28 29 30 31 |
# File 'lib/lock_jar/domain/jarfile_dsl.rb', line 26 def create(jarfile) builder = new builder.file_path = jarfile evaluate(builder, jarfile) end |