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

Implement: refinement type check #36

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

baban
Copy link

@baban baban commented Aug 21, 2017

I evaluate RDL now and I notice that some functions lack yet.
so, I try to implement Refinement, because I wanto to use it.

I use like below code.

module ArrayExtention
 refine do
   extend RDL::Annotate
   refine_type '()->String'
   def foo
     [].to_s
   end
 end
end
using_type ArrayExtention

I declare refine_type and using_type method.
It is nessesary now.

I'm writing README.md now.

I expect some function (for exmple method_missing) will support in future.

@baban baban changed the base branch from master to dev August 21, 2017 14:47
@baban baban changed the title I try to implement refinement implement refinement type check Aug 24, 2017
@baban baban changed the title implement refinement type check Implement: refinement type check Aug 24, 2017
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.

1 participant