class UILabel def on self.becomeFirstResponder end def off self.resignFirstResponder end def color(value) self.textColor = value.class == UIColor ? value : value.uicolor self end def size(value) self.font = UIFont.systemFontOfSize(value) self end end