Class: LoomExt::CoreMods::Files

Inherits:
Loom::Mods::Module show all
Defined in:
lib/loomext/coremods/files.rb

Defined Under Namespace

Modules: Actions

Instance Attribute Summary

Attributes inherited from Loom::Mods::Module

#action_proxy, #loom, #loom_config, #mods, #shell

Instance Method Summary collapse

Methods inherited from Loom::Mods::Module

action_proxy, bind_action, #execute, import_actions, #initialize, register_mod, required_commands

Constructor Details

This class inherits a constructor from Loom::Mods::Module

Instance Method Details

#init_action(paths) ⇒ Object

TODO: document loom file statements like:

`loom.files("some", "different/paths").cat`


9
10
11
# File 'lib/loomext/coremods/files.rb', line 9

def init_action(paths)
  @paths = [paths].flatten.compact
end