Customizing Form Builders

I’m reading
http://guides.rubyonrails.org/form_helpers.html#customizing-form-buildersand
don’t know where to put class
LabellingFormBuilder.
Can someone help me with this?