Skip to content

Demos: update Viewport#set_content() to #content=()#2

Merged
marcoroth merged 1 commit intomarcoroth:mainfrom
ismasan:update_demos_viewport_content
Dec 30, 2025
Merged

Demos: update Viewport#set_content() to #content=()#2
marcoroth merged 1 commit intomarcoroth:mainfrom
ismasan:update_demos_viewport_content

Conversation

@ismasan
Copy link
Copy Markdown
Contributor

@ismasan ismasan commented Dec 30, 2025

Update this in demos:

viewport.set_content(content)

To the latest API

viewport.content = content

So that these demos work.

Copy link
Copy Markdown
Owner

@marcoroth marcoroth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching those!

I've been trying to make these APIs a bit more like idiomatic Ruby, looks like I missed a few spots, thank you!

@marcoroth marcoroth merged commit 11525cd into marcoroth:main Dec 30, 2025
4 checks passed
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