| Conditions | 1 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | require "thor/core_ext/hash_with_indifferent_access" |
||
| 7 | |||
| 8 | def initialize(command_name, options = {}) |
||
| 9 | options = Thor::CoreExt::HashWithIndifferentAccess.new(options) |
||
| 10 | @command_name = command_name |
||
| 11 | @command = options[:command] || command_name |
||
| 12 | @help = options[:help] || command_name |
||
| 13 | @description = options[:description] || "description not given" |
||
| 14 | end |
||
| 17 |