Class: UIButton
Class Method Summary collapse
- .contact ⇒ Object
- .contact_add ⇒ Object
- .custom ⇒ Object
- .detail ⇒ Object
- .detail_disclosure ⇒ Object
- .info ⇒ Object
- .info_dark ⇒ Object
- .info_light ⇒ Object
- .rounded ⇒ Object
- .rounded_rect ⇒ Object
Class Method Details
.contact ⇒ Object
48 49 50 51 52 53 |
# File 'lib/sugarcube/uibutton.rb', line 48 def contact if self != UIButton raise "Custom subclasses of UIButton most be created using UIButton.custom" end self.(:contact.) end |
.contact_add ⇒ Object
54 55 56 57 58 59 |
# File 'lib/sugarcube/uibutton.rb', line 54 def contact_add if self != UIButton raise "Custom subclasses of UIButton most be created using UIButton.custom" end self.(:contact_add.) end |
.custom ⇒ Object
3 4 5 |
# File 'lib/sugarcube/uibutton.rb', line 3 def custom self.(:custom.) end |
.detail ⇒ Object
18 19 20 21 22 23 |
# File 'lib/sugarcube/uibutton.rb', line 18 def detail if self != UIButton raise "Custom subclasses of UIButton most be created using UIButton.custom" end self.(:detail.) end |
.detail_disclosure ⇒ Object
24 25 26 27 28 29 |
# File 'lib/sugarcube/uibutton.rb', line 24 def detail_disclosure if self != UIButton raise "Custom subclasses of UIButton most be created using UIButton.custom" end self.(:detail_disclosure.) end |
.info ⇒ Object
30 31 32 33 34 35 |
# File 'lib/sugarcube/uibutton.rb', line 30 def info if self != UIButton raise "Custom subclasses of UIButton most be created using UIButton.custom" end self.(:info.) end |
.info_dark ⇒ Object
42 43 44 45 46 47 |
# File 'lib/sugarcube/uibutton.rb', line 42 def info_dark if self != UIButton raise "Custom subclasses of UIButton most be created using UIButton.custom" end self.(:info_dark.) end |
.info_light ⇒ Object
36 37 38 39 40 41 |
# File 'lib/sugarcube/uibutton.rb', line 36 def info_light if self != UIButton raise "Custom subclasses of UIButton most be created using UIButton.custom" end self.(:info_light.) end |