Skip to content

Index Struct and Data assignment blocks#6

Merged
ioquatix merged 2 commits into
mainfrom
index-struct-data-assignment-blocks
Jun 16, 2026
Merged

Index Struct and Data assignment blocks#6
ioquatix merged 2 commits into
mainfrom
index-struct-data-assignment-blocks

Conversation

@samuel-williams-shopify

@samuel-williams-shopify samuel-williams-shopify commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Treat Struct.new and Data.define constant assignments with blocks as class-like containers.
  • Walk methods inside those assignment blocks under the assigned constant.
  • Add an Unreleased release note.

Tests

  • BUNDLE_GEMFILE=gems.rb bundle exec sus
  • BUNDLE_GEMFILE=gems.rb bundle exec rubocop
  • BUNDLE_GEMFILE=gems.rb COVERAGE=PartialSummary bundle exec bake decode:index:coverage lib

@ioquatix ioquatix merged commit 60f72fd into main Jun 16, 2026
38 of 42 checks passed
@ioquatix ioquatix deleted the index-struct-data-assignment-blocks branch June 16, 2026 23:58
ioquatix added a commit that referenced this pull request Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants