Class: Kakine::Option
- Inherits:
-
Object
- Object
- Kakine::Option
- Includes:
- Singleton
- Defined in:
- lib/kakine/option.rb
Class Method Summary collapse
Class Method Details
.dryrun? ⇒ Boolean
18 19 20 |
# File 'lib/kakine/option.rb', line 18 def dryrun? @@options["dryrun"] end |
.set_options(options) ⇒ Object
6 7 8 |
# File 'lib/kakine/option.rb', line 6 def () @@options = end |
.tenant_name ⇒ Object
14 15 16 |
# File 'lib/kakine/option.rb', line 14 def tenant_name @@options["tenant"] end |
.yaml_name ⇒ Object
10 11 12 |
# File 'lib/kakine/option.rb', line 10 def yaml_name @@options[:filename] ? @@options[:filename] : "#{@@options[:tenant]}.yaml" end |