We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Defaults don't get inherited from a base:
class ApplicationTexter < Textris::Base default from: 'Acme Corp' end class SomethingTexter < ApplicationTexter end ApplicationTexter.with_defaults({}) # => {:from=>"Acme Corp"} SomethingTexter.with_defaults({}) # => {}
I guess class_attribute can be used similar to how ActionView::Layouts implements layout? _layout class attribute definition, layout method
class_attribute
ActionView::Layouts
layout
_layout
The text was updated successfully, but these errors were encountered:
👍
Sorry, something went wrong.
Fix defaults inheritance
fdeab51
#11 Closes #11.
No branches or pull requests
Defaults don't get inherited from a base:
I guess
class_attribute
can be used similar to howActionView::Layouts
implementslayout
?_layout
class attribute definition,layout
methodThe text was updated successfully, but these errors were encountered: