class Shul::Shule::Radio
Public Class Methods
new(name='radio', attributes: nil, rexle: nil)
click to toggle source
Calls superclass method
Shul::Shule::Box::new
# File lib/shul.rb, line 202 def initialize(name='radio', attributes: nil, rexle: nil) h = {label: '', value: ''} h.merge!(attributes) if attributes super(name, attributes: VisualAttributes.new(h), rexle: rexle) end
Public Instance Methods
checked()
click to toggle source
# File lib/shul.rb, line 209 def checked self.obj.contents[0].checked = true end
unchecked()
click to toggle source
# File lib/shul.rb, line 215 def unchecked # unchecking an item programatically doesn't seem to # be possible in green_shoes self.obj.contents[0].checked = false end