module Clamp::Subcommand::Parsing
Protected Instance Methods
parse_subcommand()
click to toggle source
# File lib/clamp/subcommand/parsing.rb, line 10 def parse_subcommand return false unless self.class.has_subcommands? self.extend(Subcommand::Execution) end
Private Instance Methods
default_subcommand_name()
click to toggle source
# File lib/clamp/subcommand/parsing.rb, line 17 def default_subcommand_name self.class.default_subcommand || request_help end