Module: Ninja

Defined in:
lib/ninja.rb,
lib/ninja/threaded.rb

Defined Under Namespace

Classes: Threaded

Constant Summary collapse

PlainSight =
lambda {|b| b.call }

Class Attribute Summary collapse

Instance Method Summary collapse

Class Attribute Details

.hide_inObject

Returns the value of attribute hide_in.



3
4
5
# File 'lib/ninja.rb', line 3

def hide_in
  @hide_in
end

Instance Method Details

#in_background(&block) ⇒ Object



9
10
11
# File 'lib/ninja.rb', line 9

def in_background(&block)
  Ninja.hide_in.call(block)
end