vendor/bundle/ruby/2.6.0/gems/gli-2.19.2/lib/gli/command_support.rb
# The parent of this command, either the GLI app, or another command
The parent of this command, either the GLI app, or another command
The parent of this command either the GLI app or another command
def topmost_ancestor
      some_command = self
      top = some_command
      while some_command.kind_of? self.class
        top = some_command
        some_command = some_command.parent
      end
      top
    end
def topmost_ancestor some_command = self top = some_command while some_command . kind_of? self . class top = some_command some_command = some_command . parent end top end
The parent of this command, either the GLI app, or another command
The parent of this command either the GLI app or another command