Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Ruby 2: use __dir__ instead of File.dirname(__FILE__) #1341
This PR is a search-and-replace of
The gemspec lists an even newer version of Ruby as a lowest-required, so there ought to be support for this.
A detail, which may matter: the return value is a little different: "The return value equals to
The test suite passes.
@olleolleolle what is the reason for preferring