def radio_button(name, locator)
      define_method(name) do
        platform.click_radio_button(locator)
      end
      define_method("#{name}_view") do
        Gametel::Views::RadioButton.new(platform, locator)
      end
    end
def radio_button(name, locator)
      define_method(name) do
        platform.click_radio_button(locator)
      end
      define_method("#{name}_view") do
        Gametel::Views::RadioButton.new(platform, locator)
      end
    end
Generates one method to click a radio button.

 @example
   radio_button(:circle, :text => 'Circle')
   # will generate 'circle' method

 @param  [Symbol]  the name used for the generated methods
 @param  [Hash]  locator for how the checkbox is found  The valid
 keys are:
  * :text
  * :index
  * :id