code: def radio(name, locator)
        define_method("#{name}") do
          adapter.radio(locator).set
        end
        define_method("#{name}?") do
          adapter.radio(locator).set?
        end
        define_method("#{name}_view") do
          adapter.radio(locator).view
        end
      end
docs: Generates methods to set a radio button as well as see if one
   is selected
  
   @example
     radio(:morning, :id => 'morningRadio')
     # will generate 'morning' and 'morning?' methods
  
   @param  [String]  the name used for the generated methods
   @param  [Hash]  locator for how the radio is found