Class: BuildMaster::ClasspathEntries

Inherits:
Object
  • Object
show all
Defined in:
lib/buildmaster/auto/classpath.rb

Instance Method Summary collapse

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_antObject



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