Class: BuildMaster::ClasspathEntries
- Inherits:
-
Object
- Object
- BuildMaster::ClasspathEntries
- Defined in:
- lib/buildmaster/auto/classpath.rb
Instance Method Summary collapse
-
#initialize(dir) ⇒ ClasspathEntries
constructor
A new instance of ClasspathEntries.
- #to_ant ⇒ Object
Constructor Details
#initialize(dir) ⇒ ClasspathEntries
Returns a new instance of ClasspathEntries.
19 20 21 |
# File 'lib/buildmaster/auto/classpath.rb', line 19 def initialize(dir) @dir = dir end |
Instance Method Details
#to_ant ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/buildmaster/auto/classpath.rb', line 23 def to_ant return <<RESULT <fileset dir="#{@dir}"> <include name="**/*.jar"/> </fileset> RESULT end |