Class: Deathnote::DeadCodes
- Inherits:
-
Object
- Object
- Deathnote::DeadCodes
- Defined in:
- lib/deathnote.rb
Instance Method Summary collapse
-
#initialize(branch:, options:) ⇒ DeadCodes
constructor
A new instance of DeadCodes.
- #run ⇒ Object
Constructor Details
#initialize(branch:, options:) ⇒ DeadCodes
Returns a new instance of DeadCodes.
59 60 61 62 |
# File 'lib/deathnote.rb', line 59 def initialize(branch:, options:) @branch = branch = end |
Instance Method Details
#run ⇒ Object
64 65 66 67 |
# File 'lib/deathnote.rb', line 64 def run Open3.popen3("git checkout #{@branch}") to_list(run_debride) end |