Class: Tetra::Ant
- Inherits:
-
Object
- Object
- Tetra::Ant
- Defined in:
- lib/tetra/facades/ant.rb
Overview
encapsulates tetra-specific Ant commandline options
Class Method Summary collapse
-
.commandline(project_path, ant_path) ⇒ Object
returns a command line for running Ant.
Class Method Details
.commandline(project_path, ant_path) ⇒ Object
returns a command line for running Ant
6 7 8 9 10 |
# File 'lib/tetra/facades/ant.rb', line 6 def self.commandline(project_path, ant_path) return "ant" unless ant_path File.join(project_path, ant_path, "ant") end |