Sha256: 36c8980774913be7e5f8542cf01741dd6f49a43c7e2e428321481480bf92d59e
Contents?: true
Size: 531 Bytes
Versions: 1
Compression:
Stored size: 531 Bytes
Contents
# frozen_string_literal: true require "thor" module Archangel ## # Command line # module Commands ## # Generate Archangel extension # 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 end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
archangel-0.4.0 | lib/archangel/commands/base_command.rb |