Class: NSArray

Inherits:
Object show all
Defined in:
lib/hotcocoa/core_extensions/nsarray.rb

Overview

HotCocoa extensions for the NSArray class

Instance Method Summary collapse

Instance Method Details

#secondObject

Deprecated.

Does anyone use this?

Equivalent to #[1], borrowed from Active Support.


8
9
10
# File 'lib/hotcocoa/core_extensions/nsarray.rb', line 8

def second
  at(1)
end

#thirdObject

Deprecated.

Does anyone use this?

Equivalent to #[2], borrowed from Active Support.


16
17
18
# File 'lib/hotcocoa/core_extensions/nsarray.rb', line 16

def third
  at(2)
end