class Eft::CfgRadio

radiolist config

Public Class Methods

new(*a, &b) click to toggle source
Calls superclass method Eft::Cfg::new
# File lib/eft.rb, line 148
def initialize(*a, &b)
  @radio = []; super; @radio.freeze
end

Public Instance Methods

_radio() click to toggle source
# File lib/eft.rb, line 157
def _radio; @radio end
choice(tag, item) click to toggle source

add a choice

# File lib/eft.rb, line 153
def choice(tag, item)
  @radio << { tag: tag, item: item }
end