lib/archangel/commands/base_command.rb in archangel-0.3.0 vs lib/archangel/commands/base_command.rb in archangel-0.4.0

- old
+ new

@@ -12,23 +12,19 @@ # class BaseCommand < Thor::Group include Thor::Actions no_tasks do + def class_name + plugin_class_name(extension_name) + end + def plugin_class_name(plugin_name) Thor::Util.camel_case(plugin_name) end def archangel_version Archangel.version[/(.*)\./, 1] - end - - def random_compliment - [ - "You look lovely today by the way.", - "I have a feeling you're about to build something amazing.", - "Of all the people in the world, you're my favorite." - ].sample end end end end end