Sha256: e14fd3acedff4f61343bfb5053b12dbed0f2adcc0ebd81c0e98f3a1ca1e6f411
Contents?: true
Size: 399 Bytes
Versions: 1
Compression:
Stored size: 399 Bytes
Contents
class Gem::Commands::PluginCommand < Gem::Command def initialize super("plugin", "Generate skeleton for a rubygems plugin") end def execute name = options[:args].first klass = name.tr('-', '_').split('_').map(&:capitalize).join generator_args = [] generator_args << name generator_args << klass RubygemsPluginGenerator::Generator.start(generator_args) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubygems_plugin_generator-0.1.0 | lib/rubygems/commands/plugin_command.rb |