Class: OSX::NSSize
Overview
NSSize additions.
Instance Method Summary (collapse)
Instance Method Details
- (Object) *(v)
| 116 | # File 'src/ruby/osx/objc/oc_types.rb', line 116 def *(v); OSX::NSSize.new(width * v, height * v); end | 
- (Object) +(v)
| 117 | # File 'src/ruby/osx/objc/oc_types.rb', line 117 def +(v); OSX::NSSize.new(width + v, height + v); end | 
- (Object) -(v)
| 118 | # File 'src/ruby/osx/objc/oc_types.rb', line 118 def -(v); OSX::NSSize.new(width - v, height - v); end | 
- (Object) /(v)
| 115 | # File 'src/ruby/osx/objc/oc_types.rb', line 115 def /(v); OSX::NSSize.new(width / v, height / v); end | 
- (Object) inspect
| 119 | # File 'src/ruby/osx/objc/oc_types.rb', line 119 def inspect; "#<#{self.class} width=#{width}, height=#{height}>"; end |