#!/usr/bin/ruby class Book def open(path) @file = open(path) end end f = open("/dev/zero") puts f b = Book.new b.open("/dev/zero") puts b