Class: Lich::Common::FrontendLocator::Resolution

Inherits:
Struct
  • Object
show all
Defined in:
documented/common/frontend_locator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**attributes) ⇒ void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Initializes an immutable Resolution struct with frontend discovery metadata.

Parameters:

  • attributes (Hash)

    keyword arguments passed to struct: :frontend_id, :executable_path, :source



19
20
21
22
# File 'documented/common/frontend_locator.rb', line 19

def initialize(**attributes)
  super
  freeze
end

Instance Attribute Details

#executable_pathObject

Returns the value of attribute executable_path

Returns:

  • (Object)

    the current value of executable_path



13
14
15
# File 'documented/common/frontend_locator.rb', line 13

def executable_path
  @executable_path
end

#frontend_idObject

Returns the value of attribute frontend_id

Returns:

  • (Object)

    the current value of frontend_id



13
14
15
# File 'documented/common/frontend_locator.rb', line 13

def frontend_id
  @frontend_id
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



13
14
15
# File 'documented/common/frontend_locator.rb', line 13

def source
  @source
end