> You are aware that you are trying to input ruby code into a unix shell, > yes? yes but then i tried in irb too but still having problems h-3.2$ irb irb(main):001:0> name.rb NameError: undefined local variable or method `name' for main:Object from (irb):1 irb(main):002:0> a = Name.new("John Matthew Johnson") NameError: uninitialized constant Name from (irb):2 i know im probably being very thick here but i appreciate the help -- Posted via http://www.ruby-forum.com/.