class FreshTomatoes::Movie
Attributes
audience_score[RW]
description[RW]
rating[RW]
runtime[RW]
title[R]
tomatometer[R]
url[R]
Public Class Methods
all()
click to toggle source
# File lib/fresh_tomatoes/movie.rb, line 13 def self.all @@all end
new(title, url, tomatometer)
click to toggle source
# File lib/fresh_tomatoes/movie.rb, line 6 def initialize(title, url, tomatometer) @title = title @url = url @tomatometer = tomatometer @@all << self end