Skip to main content

Timeline for LuhnyBin - my first Ruby script

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Jun 17, 2012 at 19:58 comment added Michael Kohler Converting the numbers to a String before scanning works. Thanks :)
Jun 17, 2012 at 17:56 comment added Rahul Gopinath Updated. the digits should convert its input to string before scanning (as in your numberAsString).
Jun 17, 2012 at 17:55 history edited Rahul Gopinath CC BY-SA 3.0
added 7 characters in body
Jun 17, 2012 at 14:11 comment added Michael Kohler actually, your scan function doesn't work.. LuhnyBin.rb:17:in digits': private method scan' called for 54737527746:Fixnum (NoMethodError) .. how can I fix that?
Jun 17, 2012 at 13:41 vote accept Michael Kohler
Jun 16, 2012 at 17:21 history edited Rahul Gopinath CC BY-SA 3.0
deleted 76 characters in body
Jun 16, 2012 at 17:06 history edited Rahul Gopinath CC BY-SA 3.0
added 4 characters in body
Jun 16, 2012 at 17:00 history edited Rahul Gopinath CC BY-SA 3.0
deleted 218 characters in body
Jun 16, 2012 at 16:51 history edited Rahul Gopinath CC BY-SA 3.0
deleted 218 characters in body
Jun 16, 2012 at 16:37 history answered Rahul Gopinath CC BY-SA 3.0