Class: Ninja::Explicitly
- Inherits:
-
Object
- Object
- Ninja::Explicitly
- Defined in:
- lib/ninja.rb
Instance Method Summary collapse
-
#initialize(*xs) ⇒ Explicitly
constructor
A new instance of Explicitly.
- #to_ninja_format ⇒ Object
Constructor Details
#initialize(*xs) ⇒ Explicitly
Returns a new instance of Explicitly.
58 59 60 |
# File 'lib/ninja.rb', line 58 def initialize(*xs) @dep = xs.flatten end |
Instance Method Details
#to_ninja_format ⇒ Object
62 63 64 |
# File 'lib/ninja.rb', line 62 def to_ninja_format "#{@dep.join(" ")}" end |