class Voom::Presenters::SubCommandBase
Public Class Methods
subcommand_prefix()
click to toggle source
# File lib/voom/presenters/cli.rb, line 11 def self.subcommand_prefix self.name.gsub(%r{.*::}, '').gsub(%r{^[A-Z]}) { |match| match[0].downcase }.gsub(%r{[A-Z]}) { |match| "-#{match[0].downcase}" } end