class Focus::Movie3D

Attributes

wow_factor[RW]

Public Class Methods

new(title,rank,wow_factor) click to toggle source
Calls superclass method Focus::Movie::new
# File lib/focus/movie3d.rb, line 7
def initialize(title,rank,wow_factor)
        super(title,rank)

        @wow_factor = wow_factor
end

Public Instance Methods

show_effect() click to toggle source
# File lib/focus/movie3d.rb, line 17
def show_effect
        puts "Wow " * self.wow_factor 
end
thumbs_up() click to toggle source
Calls superclass method Rankable#thumbs_up
# File lib/focus/movie3d.rb, line 13
def thumbs_up
        self.wow_factor.times { super }
end