-
Notifications
You must be signed in to change notification settings - Fork 60
Accessing to package objects via #[] #88
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
Conversation
lib/plsql/package.rb
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice separation of responsibility. I like the way you got rid of the If/else
|
@javornikolov, will you be able to review/approve? |
|
Thank you @flash-gordon for the refactoring and thanks @jgebal for your review! I can take a bit more detailed look by the end of the week, at first glimpse it looks good to me. |
8054e3e to
963311d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jgebal is it better now? Or did I miss something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@flash-gordon Thanks, I'll review it over the weekend - too tired to think clear now.
|
Except the 2 comments added, the PR is really OK from my perspective. |
|
OK from my side too. |
|
I'd give it a go with this pull request. |
963311d to
bc2e6aa
Compare
* Split Package.find into smaller parts * Improve Package#method_missing readability
bc2e6aa to
eda131a
Compare
|
@jgebal no, I'm fine with case-insensitive approach, just updated the PR. Also we can add string/symbol semantics for case-sensitivity (something like Sequel's implementation for column names). |
|
@javornikolov All tests are passing, Can you can merge and close this one? |
|
Great, I'm merging. Thank you @flash-gordon for that contribution and thank you @jgebal for reviewing it! |
Accessing package objects via #[]
Ok, here we go :)
Keeping my (outdated) promise from #31 I refactored package.rb.
Best regards,
NS.