Class: Sfctl::Commands::Time::Providers
- Inherits:
-
Thor
- Object
- Thor
- Sfctl::Commands::Time::Providers
- Defined in:
- lib/sfctl/commands/time/providers.rb,
lib/sfctl/commands/time/providers/get.rb,
lib/sfctl/commands/time/providers/set.rb,
lib/sfctl/commands/time/providers/unset.rb
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#get ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/sfctl/commands/time/providers.rb', line 33 def get(*) if [:help] invoke :help, ['get'] else require_relative 'providers/get' Sfctl::Commands::Time::Providers::Get.new().execute end end |
#set ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/sfctl/commands/time/providers.rb', line 11 def set(*) if [:help] invoke :help, ['set'] else require_relative 'providers/set' Sfctl::Commands::Time::Providers::Set.new().execute end end |
#unset ⇒ Object
22 23 24 25 26 27 28 29 |
# File 'lib/sfctl/commands/time/providers.rb', line 22 def unset(*) if [:help] invoke :help, ['unset'] else require_relative 'providers/unset' Sfctl::Commands::Time::Providers::Unset.new().execute end end |