Module: Foobara::CommandPatternImplementation::Concerns::Subcommands

Includes:
Foobara::Concern
Included in:
Foobara::CommandPatternImplementation
Defined in:
foobara-0.2.7/projects/command/src/command_pattern_implementation/concerns/subcommands.rb

Defined Under Namespace

Modules: ClassMethods Classes: AlreadyRegisteredSubcommand, CannotAccessDomain, SubcommandNotRegistered

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Foobara::Concern

foobara_class_methods_module_for, foobara_concern?, included

Instance Attribute Details

#is_subcommandObject

Returns the value of attribute is_subcommand.



11
12
13
# File 'projects/command/src/command_pattern_implementation/concerns/subcommands.rb', line 11

def is_subcommand
  @is_subcommand
end

Instance Method Details

#subcommand?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'projects/command/src/command_pattern_implementation/concerns/subcommands.rb', line 15

def subcommand?
  is_subcommand
end