class Hanami::CLI::CommandRegistry::LookupResult

Result of a registry lookup

@since 0.1.0 @api private

Attributes

arguments[R]

@since 0.1.0 @api private

names[R]

@since 0.1.0 @api private

Public Class Methods

new(node, arguments, names, found) click to toggle source

@since 0.1.0 @api private

# File lib/hanami/cli/command_registry.rb, line 174
def initialize(node, arguments, names, found)
  @node      = node
  @arguments = arguments
  @names     = names
  @found     = found
end

Public Instance Methods

after_callbacks() click to toggle source

@since 0.2.0 @api private

# File lib/hanami/cli/command_registry.rb, line 207
def after_callbacks
  @node.after_callbacks
end
before_callbacks() click to toggle source

@since 0.2.0 @api private

# File lib/hanami/cli/command_registry.rb, line 201
def before_callbacks
  @node.before_callbacks
end
children() click to toggle source

@since 0.1.0 @api private

# File lib/hanami/cli/command_registry.rb, line 189
def children
  @node.children
end
command() click to toggle source

@since 0.1.0 @api private

# File lib/hanami/cli/command_registry.rb, line 195
def command
  @node.command
end
found?() click to toggle source

@since 0.1.0 @api private

# File lib/hanami/cli/command_registry.rb, line 183
def found?
  @found
end