#!/usr/bin/env ruby class Test def initialize(fruit) @fruit = fruit end def hello name = "Bob" puts "Hello #{name} !" end def eat puts "#{@fruit}" end end