#!/usr/bin/ruby

var movie_ratings = :(
     'memento'     => 3,
     'primer'      => 3.5,
     'the_matrix'  => 3,
     'truman_show' => 4,
     'red_dawn'    => 1.5,
     'skyfall'     => 4,
     'alex_cross'  => 2,
     'uhf'         => 1,
     'lion_king'   => 3.5,
    );

var good_movies = movie_ratings.grep { |_,v| v > 3 };
good_movies.dump.say;
