Wrap missing methods #62

Merged
merged 2 commits into from Apr 23, 2011

Projects

None yet

2 participants

@manveru
Collaborator
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
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