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

Wrap missing methods #62

Merged
merged 2 commits into from
Apr 23, 2011
Merged

Wrap missing methods #62

merged 2 commits into from
Apr 23, 2011

Conversation

manveru
Copy link
Collaborator

@manveru manveru commented Apr 23, 2011

Adding File#read: and String#unpack: to solve http://rosettacode.org/wiki/Random_number_generator_(device)

File open: "/dev/urandom" modes: ['read] with: |f| { ((f read: 4) unpack: "I") at: 0 println }

@bakkdoor
Copy link
Owner

Cool, thanks. Usually having tests would be good, but in this case not necessary since they're just forwarding to Ruby methods. If you want to, I can give you access to my repository. Let me know.

@bakkdoor bakkdoor merged commit c257d4e into bakkdoor:master Apr 23, 2011
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