Class: RailsAiBridge::Registry::PackDefinition
- Inherits:
-
Data
- Object
- Data
- RailsAiBridge::Registry::PackDefinition
- Defined in:
- lib/rails_ai_bridge/registry/pack_definition.rb
Overview
Immutable value object describing a single pack's source and loading behaviour.
Instance Attribute Summary collapse
-
#always_loaded ⇒ Object
readonly
Returns the value of attribute always_loaded.
-
#depends_on ⇒ Object
readonly
Returns the value of attribute depends_on.
-
#ref ⇒ Object
readonly
Returns the value of attribute ref.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
-
#tile ⇒ Object
readonly
Returns the value of attribute tile.
Instance Method Summary collapse
Instance Attribute Details
#always_loaded ⇒ Object (readonly)
Returns the value of attribute always_loaded
18 19 20 21 |
# File 'lib/rails_ai_bridge/registry/pack_definition.rb', line 18 PackDefinition = Data.define(:source, :tile, :always_loaded, :depends_on, :ref) do # @return [Boolean] def always_loaded? = always_loaded end |
#depends_on ⇒ Object (readonly)
Returns the value of attribute depends_on
18 19 20 21 |
# File 'lib/rails_ai_bridge/registry/pack_definition.rb', line 18 PackDefinition = Data.define(:source, :tile, :always_loaded, :depends_on, :ref) do # @return [Boolean] def always_loaded? = always_loaded end |
#ref ⇒ Object (readonly)
Returns the value of attribute ref
18 19 20 21 |
# File 'lib/rails_ai_bridge/registry/pack_definition.rb', line 18 PackDefinition = Data.define(:source, :tile, :always_loaded, :depends_on, :ref) do # @return [Boolean] def always_loaded? = always_loaded end |
#source ⇒ Object (readonly)
Returns the value of attribute source
18 19 20 21 |
# File 'lib/rails_ai_bridge/registry/pack_definition.rb', line 18 PackDefinition = Data.define(:source, :tile, :always_loaded, :depends_on, :ref) do # @return [Boolean] def always_loaded? = always_loaded end |
#tile ⇒ Object (readonly)
Returns the value of attribute tile
18 19 20 21 |
# File 'lib/rails_ai_bridge/registry/pack_definition.rb', line 18 PackDefinition = Data.define(:source, :tile, :always_loaded, :depends_on, :ref) do # @return [Boolean] def always_loaded? = always_loaded end |
Instance Method Details
#always_loaded? ⇒ Boolean
20 |
# File 'lib/rails_ai_bridge/registry/pack_definition.rb', line 20 def always_loaded? = always_loaded |