Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Pathname and implicit File.join when passing filenames #1

Open
acant opened this issue Nov 7, 2016 · 0 comments
Open

Support Pathname and implicit File.join when passing filenames #1

acant opened this issue Nov 7, 2016 · 0 comments

Comments

@acant
Copy link
Collaborator

acant commented Nov 7, 2016

Any of the SugarUtils methods which accept filenames should accept the following:

  • String
  • Pathname
  • array of Strings which will be File.join'ed
  • multi-String parameters, which will be File.join'ed (where possible)

This should simplify the calls to SugarUtils methods.
Also consider implementing this functionality as a SugarUtils.ensure_pathname methods which can also be used outside the gem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant