Class: Ninja::Implicitly

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

Instance Method Summary collapse

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_formatObject



72
73
74
# File 'lib/ninja.rb', line 72

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