Skip to content

Node#click reusability of Mouse#click#587

Open
agrberg wants to merge 1 commit into
rubycdp:mainfrom
agrberg:ar/simplify-node-click
Open

Node#click reusability of Mouse#click#587
agrberg wants to merge 1 commit into
rubycdp:mainfrom
agrberg:ar/simplify-node-click

Conversation

@agrberg
Copy link
Copy Markdown

@agrberg agrberg commented May 18, 2026

Increase Node#click readability by making the differences between modes obvious when to Mouse#click's encapsulation

Further focus attention on only the changes by using Ruby 3.1+ kwarg shorthand.

Increase `Node#click` readability by making the differences between
modes obvious when to `Mouse#click`'s encapsulation

Further focus attention on only the changes by using Ruby 3.1+ kwarg
shorthand.
@agrberg
Copy link
Copy Markdown
Author

agrberg commented May 18, 2026

FWIW the Ruby 3.1+ kwarg shorthand isn't necessary so I'll easily remove if it you don't want to use it in this repo. I added it as the gemspec says Ruby 3.1+ is required and omitting it draws the eye to only what is changing.

@route
Copy link
Copy Markdown
Member

route commented May 18, 2026

looking good! yes we should support only 3.1+

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