Class: Ninja::Explicitly

Inherits:
Object
  • Object
show all
Defined in:
lib/ninja.rb

Instance Method Summary collapse

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_formatObject



62
63
64
# File 'lib/ninja.rb', line 62

def to_ninja_format
  "#{@dep.join(" ")}"
end