rubymotion/BubbleWrap

View on GitHub
motion/core/ios/ns_index_path.rb

Summary

Maintainability
A
0 mins
Test Coverage
module NSIndexPathWrap

  def +(aNumber)
    self.class.indexPathForRow(row+aNumber, inSection:section)
  end

  def -(aNumber)
    self.class.indexPathForRow(row-aNumber, inSection:section)
  end

end