Class: LintTrap::Container::Base
- Inherits:
-
Object
- Object
- LintTrap::Container::Base
- Defined in:
- lib/lint_trap/container/base.rb
Constant Summary collapse
- LOCAL_CONFIG_PATH =
Pathname.new(File.('../../../../config', __FILE__))
Instance Method Summary collapse
- #config_path(_path) ⇒ Object
- #file_path(_path) ⇒ Object
-
#initialize(image, repo_path) ⇒ Base
constructor
A new instance of Base.
- #wrap(_command) ⇒ Object
Constructor Details
#initialize(image, repo_path) ⇒ Base
Returns a new instance of Base.
8 9 10 11 |
# File 'lib/lint_trap/container/base.rb', line 8 def initialize(image, repo_path) @image = image @repo_path = Pathname.new(repo_path) end |
Instance Method Details
#config_path(_path) ⇒ Object
17 18 19 |
# File 'lib/lint_trap/container/base.rb', line 17 def config_path(_path) raise NotImplementedError end |
#file_path(_path) ⇒ Object
21 22 23 |
# File 'lib/lint_trap/container/base.rb', line 21 def file_path(_path) raise NotImplementedError end |
#wrap(_command) ⇒ Object
13 14 15 |
# File 'lib/lint_trap/container/base.rb', line 13 def wrap(_command) raise NotImplementedError end |