Class: Appscript::Reference

Inherits:
Object show all
Defined in:
lib/omnifocus.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#to_aryObject

HACK: There is apparently a bug in ruby 1.9 where if you have method_missing defined and do some action that calls to_ary, then to_ary will be called on your instance REGARDLESS of whether respond_to_(:to_ary) returns true or not.

tenderlovemaking.com/2011/06/28/til-its-ok-to-return-nil-from-to_ary/



16
17
18
# File 'lib/omnifocus.rb', line 16

def to_ary # :nodoc:
  nil
end