lib/dummy.rb in teacup-1.2.8 vs lib/dummy.rb in teacup-1.2.9

- old
+ new

@@ -7,18 +7,21 @@ class DummyView < UIView private def dummy setFrame(nil) setOpaque(nil) + setClipsToBounds(nil) + setUserInteractionEnabled(nil) end end - class DummyTableView < UITableView - def allowsSelection=(value) - setAllowSelection value - end +class DummyTableView < UITableView +private + def dummy + setAllowSelection(value) end +end class DummyButton < UIButton private def dummy setTitleEdgeInsets(nil) @@ -49,10 +52,11 @@ end class DummyTextField < UITextField private def dummy + setSecureTextEntry(nil) setReturnKeyType(nil) setAutocapitalizationType(nil) setAutocorrectionType(nil) setSpellCheckingType(nil) end @@ -87,5 +91,6 @@ def dummy on? setOn(true) end end +