Class: LockJar::Domain::JarfileDsl
- Defined in:
- lib/lock_jar/domain/jarfile_dsl.rb
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, #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
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
27 28 29 30 31 32 |
# File 'lib/lock_jar/domain/jarfile_dsl.rb', line 27 def create(jarfile) builder = new builder.file_path = jarfile evaluate(builder, jarfile) end |
.overriden_create ⇒ Object
26 |
# File 'lib/lock_jar/domain/jarfile_dsl.rb', line 26 alias :overriden_create :create |