Module: Vagabond::Helpers

Included in:
Core, InternalConfiguration, Kitchen, Knife, Spec, Uploader, Vagabond
Defined in:
lib/vagabond/helpers.rb,
lib/vagabond/helpers/base.rb,
lib/vagabond/helpers/knife.rb,
lib/vagabond/helpers/chains.rb,
lib/vagabond/helpers/naming.rb,
lib/vagabond/helpers/server.rb,
lib/vagabond/helpers/commands.rb,
lib/vagabond/helpers/callbacks.rb

Defined Under Namespace

Modules: Base, Callbacks, Chains, Commands, Knife, Naming, Server

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



12
13
14
15
16
17
18
# File 'lib/vagabond/helpers.rb', line 12

def included(klass)
  ::Vagabond::Helpers.constants.each do |konst|
    const = ::Vagabond::Helpers.const_get(konst)
    next unless const.is_a?(Module)
    klass.send(:include, const)
  end
end