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

remove ReVIEW::Book.load, modify ReVIEW::Book::Base.load #1548

Merged
merged 2 commits into from
Aug 18, 2020

Conversation

takahashim
Copy link
Collaborator

  • ReVIEW::Book.load is deprecated, use ReVIEW::Book::Base.load or ReVIEW::Book::Base.new
  • add new option :config for ReVIEW::Book::Base.load

@kmuto
Copy link
Owner

kmuto commented Aug 18, 2020

意図はあまりよくわかってないのですが、クラス内部整理として必要というかんじでしょうか。
このあたりは特に拡張利用などもしていないので私は問題ないです。

@takahashim
Copy link
Collaborator Author

単にこの機会に整理したい意味もあるのですが、 #1515 に踏まえて挙動(特に各種の初期化)を整理しないと厳しそう、というのもあるのでした。

ReVIEW::Book.loadReVIEW::Book::Base.load と完全に同じで、これをなくせば ReVIEW::Book はただの名前空間になるため、削除したほうがわかりやすくなるはずです。

他にもまだしばらくPRが続く予定です。

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.

2 participants