Class: Unlearn::Runner
- Inherits:
-
Object
- Object
- Unlearn::Runner
- Defined in:
- lib/unlearn/runner.rb
Instance Attribute Summary collapse
-
#batches ⇒ Object
readonly
Returns the value of attribute batches.
-
#filtered_repos ⇒ Object
readonly
Returns the value of attribute filtered_repos.
-
#repos ⇒ Object
readonly
Returns the value of attribute repos.
Instance Method Summary collapse
-
#initialize ⇒ Runner
constructor
A new instance of Runner.
- #run ⇒ Object
Constructor Details
#initialize ⇒ Runner
Returns a new instance of Runner.
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/unlearn/runner.rb', line 5 def initialize @batches = [ '-v-000', '-bootcamp-prep-000', '-cb-000', '-cb-gh-000', '-re-coded-000', '-js-intro-000' ] @repos = [] @filtered_repos = [] end |
Instance Attribute Details
#batches ⇒ Object (readonly)
Returns the value of attribute batches.
3 4 5 |
# File 'lib/unlearn/runner.rb', line 3 def batches @batches end |
#filtered_repos ⇒ Object (readonly)
Returns the value of attribute filtered_repos.
3 4 5 |
# File 'lib/unlearn/runner.rb', line 3 def filtered_repos @filtered_repos end |
#repos ⇒ Object (readonly)
Returns the value of attribute repos.
3 4 5 |
# File 'lib/unlearn/runner.rb', line 3 def repos @repos end |
Instance Method Details
#run ⇒ Object
19 20 21 22 23 |
# File 'lib/unlearn/runner.rb', line 19 def run get_repos filter_repos end |