Create attrib.rb

work in progress... needs to be completed