Created
January 2, 2014 10:03
-
-
Save guinslym/8217189 to your computer and use it in GitHub Desktop.
I ran this Hash in my console << ruby example.rb but my students.count doesn't appear?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ruby | |
#all those informations are fictive | |
students = {:VILC22579307 => "VILLENEUVE-ASSE, CINDY", | |
:NDIJ19129106 => "NDIAYE YEND, JEAN-LOUIS RUDY", | |
:JEAJ03108909 => "JEAN-BAPTISTE, JOSEPH-RAYMOND MARC", | |
:ELME29089109 => "EL MOUTARAJJI EL ALA, ELIAS", | |
:TRED01039200 => "TREMBLAY, DENIS MARC-ANDRE PIERRE", | |
:AUCM28579305 => "AUCLAIR-JULIEN, MARIE-ISABELLE"} | |
students.count | |
puts "hello world"#only this line appears |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment