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

Fixed. RuntimeError "Unknown style" when hashie 3.6.0+ #180

Merged
merged 1 commit into from
Aug 18, 2018

Conversation

sue445
Copy link
Owner

@sue445 sue445 commented Aug 18, 2018

Close #179

@@ -244,7 +244,7 @@ def colors
private

def has_transform_style?(style)
return false unless respond_to?(:transform_styles)
return false unless has_key?(:transform_styles)
Copy link
Owner Author

@sue445 sue445 Aug 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is successful both hashie < 3.6.0 and hashie >= 3.6.0

@sue445 sue445 changed the title Fixed. Fix RuntimeError "Unknown style" when hashie 3.6.0+ Fixed. RuntimeError "Unknown style" when hashie 3.6.0+ Aug 18, 2018
@sue445 sue445 merged commit c04ae8e into master Aug 18, 2018
@sue445 sue445 deleted the feature/hashie_3.6.0 branch August 18, 2018 04:26
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.

None yet

1 participant