Class: ProjectModule::TakelageProject
- Inherits:
-
Object
- Object
- ProjectModule::TakelageProject
- Includes:
- ConfigModule, LoggingModule, Singleton, SystemModule
- Defined in:
- lib/takelage/lib/project.rb
Overview
takelage config class.
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#dir ⇒ Object
Returns the value of attribute dir.
-
#main ⇒ Object
Returns the value of attribute main.
-
#private ⇒ Object
Returns the value of attribute private.
Instance Method Summary collapse
-
#initialize ⇒ TakelageProject
constructor
A new instance of TakelageProject.
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
Constructor Details
#initialize ⇒ TakelageProject
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
#active ⇒ Object
Returns the value of attribute active.
12 13 14 |
# File 'lib/takelage/lib/project.rb', line 12 def active @active end |
#dir ⇒ Object
Returns the value of attribute dir.
12 13 14 |
# File 'lib/takelage/lib/project.rb', line 12 def dir @dir end |
#main ⇒ Object
Returns the value of attribute main.
12 13 14 |
# File 'lib/takelage/lib/project.rb', line 12 def main @main end |
#private ⇒ Object
Returns the value of attribute private.
12 13 14 |
# File 'lib/takelage/lib/project.rb', line 12 def private @private end |