Module: Reflex::HasFrame
Instance Method Summary collapse
- #frame(*args) ⇒ Object
- #frame=(*args) ⇒ Object
- #inset_by(*args) ⇒ Object
- #move_by(*args) ⇒ Object
- #move_to(*args) ⇒ Object
- #resize_by(*args) ⇒ Object
- #resize_to(*args) ⇒ Object
Instance Method Details
#frame(*args) ⇒ Object
30 31 32 33 |
# File 'lib/reflex/helper.rb', line 30 def frame (*args) send :frame=, *args unless args.empty? get_frame end |
#frame=(*args) ⇒ Object
25 26 27 28 |
# File 'lib/reflex/helper.rb', line 25 def frame= (*args) set_frame args.flatten get_frame end |
#inset_by(*args) ⇒ Object
55 56 57 58 |
# File 'lib/reflex/helper.rb', line 55 def inset_by (*args) self.frame = get_frame.inset_by *args self end |
#move_by(*args) ⇒ Object
40 41 42 43 |
# File 'lib/reflex/helper.rb', line 40 def move_by (*args) self.frame = get_frame.move_by *args self end |
#move_to(*args) ⇒ Object
35 36 37 38 |
# File 'lib/reflex/helper.rb', line 35 def move_to (*args) self.frame = get_frame.move_to *args self end |
#resize_by(*args) ⇒ Object
50 51 52 53 |
# File 'lib/reflex/helper.rb', line 50 def resize_by (*args) self.frame = get_frame.resize_by *args self end |
#resize_to(*args) ⇒ Object
45 46 47 48 |
# File 'lib/reflex/helper.rb', line 45 def resize_to (*args) self.frame = get_frame.resize_to *args self end |