Class: Usmu::Plugin::CoreHooks

Inherits:
Object
  • Object
show all
Defined in:
lib/usmu/plugin/core_hooks.rb

Overview

This class describes all the hooks available from Usmu Core.

Instance Method Summary collapse

Instance Method Details

#commands(ui, c) ⇒ void

Hook to allow adding commands to the console UI.

Parameters:

  • ui (Usmu::Ui::Console)

    The UI instance for this session.

  • c (Commander::Runner)

    The Commander instance to add commands to.



11
# File 'lib/usmu/plugin/core_hooks.rb', line 11

def commands(ui, c); end

#renderables_alter(renderables, generator) ⇒ Array<Usmu::Template::StaticFile>

Hook to allow altering the list of files that are in the site.

Parameters:

Returns:



19
# File 'lib/usmu/plugin/core_hooks.rb', line 19

def renderables_alter(renderables, generator); end