Class: Codeqa::Installer
- Inherits:
-
Object
- Object
- Codeqa::Installer
- Defined in:
- lib/codeqa/installer.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(app_root) ⇒ Installer
constructor
A new instance of Installer.
Constructor Details
#initialize(app_root) ⇒ Installer
Returns a new instance of Installer.
9 10 11 |
# File 'lib/codeqa/installer.rb', line 9 def initialize(app_root) @app_root=Pathname.new(File.(app_root)) end |
Class Method Details
.call(app_root) ⇒ Object
5 6 7 |
# File 'lib/codeqa/installer.rb', line 5 def self.call(app_root) new(app_root).call end |
Instance Method Details
#call ⇒ Object
13 14 15 16 |
# File 'lib/codeqa/installer.rb', line 13 def call generate_dot_codeqa install_codeqa_git_hook end |