Class: Compendium::RadioParam

Inherits:
ParamWithChoices show all
Defined in:
lib/compendium/param_types.rb

Instance Method Summary collapse

Methods inherited from ParamWithChoices

#initialize, #value

Methods inherited from Param

#==, #boolean?, #date?, #dropdown?, #nil?, #scalar?, #to_f, #to_i

Constructor Details

This class inherits a constructor from Compendium::ParamWithChoices

Instance Method Details

#radio?Boolean

Returns:

  • (Boolean)


101
102
103
# File 'lib/compendium/param_types.rb', line 101

def radio?
  true
end