Class: LCSC::LCSC
- Inherits:
-
Object
- Object
- LCSC::LCSC
- Defined in:
- lib/lcsc.rb
Overview
This class represents the main functionality of the LCSC (LeetCode Solution Counter) tool.
Instance Method Summary collapse
-
#start(user, repository) ⇒ Integer
Starts the LCSC tool.
Instance Method Details
#start(user, repository) ⇒ Integer
Starts the LCSC tool.
17 18 19 20 21 |
# File 'lib/lcsc.rb', line 17 def start(user, repository) output = ::LCSC::LCSCResolver.new(user, repository).resolve ::Rouge::CLI.parse([output]).run end |