Top Level Namespace

Defined Under Namespace

Modules: Jake

Instance Method Summary collapse

Instance Method Details

#jake_helper(name, &block) ⇒ Object Also known as: jake


61
62
63
64
65
# File 'lib/jake.rb', line 61

def jake_helper(name, &block)
  Jake::Helper.class_eval do
    define_method(name, &block)
  end
end

#jake_hook(type, &block) ⇒ Object


68
69
70
# File 'lib/jake.rb', line 68

def jake_hook(type, &block)
  Jake::Build.on(type, &block)
end