Class: Ninja::Implicitly
- Inherits:
-
Object
- Object
- Ninja::Implicitly
- Defined in:
- lib/ninja.rb
Instance Method Summary collapse
-
#initialize(*xs) ⇒ Implicitly
constructor
A new instance of Implicitly.
- #to_ninja_format ⇒ Object
Constructor Details
#initialize(*xs) ⇒ Implicitly
Returns a new instance of Implicitly.
68 69 70 |
# File 'lib/ninja.rb', line 68 def initialize(*xs) @dep = xs.flatten end |
Instance Method Details
#to_ninja_format ⇒ Object
72 73 74 |
# File 'lib/ninja.rb', line 72 def to_ninja_format "| #{@dep.join(" ")}" end |