Module: Tumugi

Defined in:
lib/tumugi.rb,
lib/tumugi/cli.rb,
lib/tumugi/dag.rb,
lib/tumugi/dsl.rb,
lib/tumugi/task.rb,
lib/tumugi/error.rb,
lib/tumugi/config.rb,
lib/tumugi/logger.rb,
lib/tumugi/plugin.rb,
lib/tumugi/target.rb,
lib/tumugi/version.rb,
lib/tumugi/registry.rb,
lib/tumugi/application.rb,
lib/tumugi/atomic_file.rb,
lib/tumugi/command/run.rb,
lib/tumugi/file_system.rb,
lib/tumugi/command/show.rb,
lib/tumugi/mixin/listable.rb,
lib/tumugi/parameter/error.rb,
lib/tumugi/task_definition.rb,
lib/tumugi/file_system_error.rb,
lib/tumugi/mixin/task_helper.rb,
lib/tumugi/parameter/converter.rb,
lib/tumugi/parameter/parameter.rb,
lib/tumugi/mixin/parameterizable.rb,
lib/tumugi/plugin/atomic_local_file.rb,
lib/tumugi/plugin/local_file_system.rb,
lib/tumugi/plugin/target/local_file.rb,
lib/tumugi/parameter/parameter_proxy.rb,
lib/tumugi/plugin/file_system_target.rb

Defined Under Namespace

Modules: Command, DSL, Mixin, Parameter, Plugin Classes: Application, AtomicFile, CLI, Config, ConfigError, DAG, FileAlreadyExistError, FileSystem, FileSystemError, Logger, MissingParentDirectoryError, NotADirectoryError, Registry, Target, Task, TaskDefinition, TumugiError

Constant Summary collapse

VERSION =
"0.4.5"

Class Method Summary collapse

Class Method Details

.applicationObject



8
9
10
# File 'lib/tumugi.rb', line 8

def application
  @application ||= Tumugi::Application.new
end

.config {|@config| ... } ⇒ Object

Yields:



16
17
18
19
20
# File 'lib/tumugi.rb', line 16

def config
  @config ||= Tumugi::Config.new
  yield @config if block_given?
  @config
end

.loggerObject



12
13
14
# File 'lib/tumugi.rb', line 12

def logger
  @logger ||= Tumugi::Logger.new
end