Class: Buildr::XMLBeans::CompileTask
- Inherits:
-
Rake::FileTask
- Object
- Rake::FileTask
- Buildr::XMLBeans::CompileTask
- Defined in:
- lib/java/xmlbeans.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ CompileTask
constructor
A new instance of CompileTask.
- #options ⇒ Object
- #using(options) ⇒ Object
Constructor Details
#initialize(*args) ⇒ CompileTask
Returns a new instance of CompileTask.
40 41 42 43 44 45 |
# File 'lib/java/xmlbeans.rb', line 40 def initialize(*args) super enhance do |task| XMLBeans.compile *task.prerequisites + [.merge(:output=>task.name)] end end |
Instance Method Details
#options ⇒ Object
47 48 49 |
# File 'lib/java/xmlbeans.rb', line 47 def () @options ||= {} end |
#using(options) ⇒ Object
51 52 53 54 |
# File 'lib/java/xmlbeans.rb', line 51 def using() self..merge!() self end |