Method: SugarCube::Repl.frame
- Defined in:
- lib/cocoa/sugarcube-repl/repl.rb
.frame(f = nil) ⇒ Object Also known as: f
| FRAME
51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/cocoa/sugarcube-repl/repl.rb', line 51 def frame(f=nil) return unless check_sugarcube_view return @sugarcube_view.frame unless f f = SugarCube::CoreGraphics::Rect(f) @sugarcube_view.frame = f puts format_frame(f) @sugarcube_view end |