Class: ProjectModule::TakelageProject

Inherits:
Object
  • Object
show all
Includes:
ConfigModule, LoggingModule, Singleton, SystemModule
Defined in:
lib/takelage/lib/project.rb

Overview

takelage config class.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from ConfigModule

#config, #configured?, #initialize_config

Methods included from SystemModule

#command_available_else_error?, #command_available_else_warn?, #hash_to_yaml, #read_yaml_erb_file, #read_yaml_file, #rm_fr, #run, #run_and_capture, #run_and_exit, #run_and_fork, #try

Methods included from LoggingModule

#initialize_logging, #log

Constructor Details

#initializeTakelageProject

Returns a new instance of TakelageProject.



14
15
16
17
18
19
# File 'lib/takelage/lib/project.rb', line 14

def initialize
  @active = {}
  @private = {}
  @main = {}
  @dir = {}
end

Instance Attribute Details

#activeObject

Returns the value of attribute active.



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

def active
  @active
end

#dirObject

Returns the value of attribute dir.



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

def dir
  @dir
end

#mainObject

Returns the value of attribute main.



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

def main
  @main
end

#privateObject

Returns the value of attribute private.



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

def private
  @private
end