Class: HustleAndFlow::VersionControls::Commands::Start
- Inherits:
-
Object
- Object
- HustleAndFlow::VersionControls::Commands::Start
- Defined in:
- lib/hustle_and_flow/version_controls/commands/start.rb
Class Method Summary collapse
Class Method Details
.call(**args) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/hustle_and_flow/version_controls/commands/start.rb', line 8 def self.call(**args) version_controls_class = VersionControl.detect.name.gsub('::Repository', '') command_class = const_get("::#{version_controls_class}::Commands::Start") command_class.call(**args) end |