Class: RubyInstaller::Build::Task
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Openstruct
|
|
|
Instance Chain:
self,
Utils,
Rake::DSL,
Openstruct
|
|
| Inherits: |
RubyInstaller::Build::Openstruct
|
| Defined in: | lib/ruby_installer/build/task.rb |
Constant Summary
Utils - Included
Class Method Summary
Instance Method Summary
Utils - Included
| #eval_file, | |
| #file | Extend rake’s file task to be defined only once and to check the expected file is indeed generated. |
| #msys_sh, | |
| #ovl_expand_file | Returns the absolute path of |
| #ovl_glob | Scan the current and the gem root directory for files matching |
| #ovl_read_file | Read |
| #q_inno | Quote a string according to the rules of Inno-Setup. |
| #rubyinstaller_build_gem_files | Return the gem files of “rubyinstaller-build”. |
| #task | Extend rake’s task definition to be defined only once, even if called several times. |
| #with_env, #with_sandbox_ruby, #task_once | |
Openstruct - Inherited
Constructor Details
.new(thisdir:, **hash) ⇒ Task
# File 'lib/ruby_installer/build/task.rb', line 10
def initialize(thisdir: , **hash) super(hash) self.thisdir = thisdir ovl_glob(File.join(thisdir, "[0-9][0-9]-*.rake")).sort.each do |taskfile| eval_file((taskfile)) end end
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RubyInstaller::Build::Openstruct