Skip to content

Fix snakecase NoMethodError#347

Merged
pcai merged 2 commits intoWinRb:mainfrom
NozomiNetworks:fix_snakecase
Aug 2, 2024
Merged

Fix snakecase NoMethodError#347
pcai merged 2 commits intoWinRb:mainfrom
NozomiNetworks:fix_snakecase

Conversation

@ripa1995
Copy link
Copy Markdown
Contributor

This PR fixes #346.

I've added also a constraint on nori minimum version, if this is unwanted, then we could check its version at runtime and behave accordingly.

Checking Gem.loaded_specs['nori'].version < Gem::Version.create('2.7.1'), and if the statement is true, use directly snakecase fn.

@pcai pcai mentioned this pull request Aug 2, 2024
@pcai pcai merged commit 43c1353 into WinRb:main Aug 2, 2024
@pcai
Copy link
Copy Markdown
Contributor

pcai commented Aug 2, 2024

thank you

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.

NoMethodError snakecase for String

2 participants