config icon indicating copy to clipboard operation
config copied to clipboard

DRY - Code Refactor

Open manjunath724 opened this issue 4 years ago • 1 comments

  • case..when..else..end blocks have been aligned vertically
  • Moved common code snippets to a private methods
  • Used eval(str) to return Boolean true/false
  • Removed !!(Double not) prepended to true/false

manjunath724 avatar Oct 10 '21 14:10 manjunath724

While working PR https://github.com/rubyconfig/config/pull/309. I noticed that a lot of code could be refactored - which has led to this PR https://github.com/rubyconfig/config/pull/310. Can we please approve the tests to run on this branch?

manjunath724 avatar Oct 12 '21 17:10 manjunath724

Closing because this is stale

cjlarose avatar Mar 02 '24 01:03 cjlarose