Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Replace class_eval with method calls in support module #31

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

emmanuel
Copy link
Member

This is the second of 3 pull requests decomposing the many changes in #24. This is a superset of the changes in #30.

These changes replace the use of string-based class_eval with method calls in Types::Support::Flags and ParanoidBoolean/ParanoidDateTime.

This is in the Enum#initialize method, how could this test ever be false?

In other words, how could any instance that doesn't inherit from Property::Enum execute the Property::Enum#initialize method?
@tpitale
Copy link
Member

tpitale commented Feb 14, 2016

@emmanuel Any chance you could update this against master. If you don't think it's valid anymore I'll close it. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants