class OmniFocus::Thingy

Attributes

omnifocus[RW]
thing[RW]

Public Class Methods

new(of, thing) click to toggle source
# File lib/omnifocus.rb, line 789
def initialize of, thing
  @omnifocus = of
  @thing = thing
end

Public Instance Methods

active() click to toggle source
# File lib/omnifocus.rb, line 794
def active
  its.completed.eq(false)
end
id() click to toggle source
# File lib/omnifocus.rb, line 807
def id
  thing.id_.get
end
inspect() click to toggle source
# File lib/omnifocus.rb, line 811
def inspect
  "#{self.class}[#{self.id}]"
end
method_missing(m, *a) click to toggle source
# File lib/omnifocus.rb, line 798
def method_missing m, *a
  warn "%s#method_missing(%s)" % [self.class.name, [m,*a].inspect[1..-2]]
  thing.send m, *a
end
name() click to toggle source
# File lib/omnifocus.rb, line 803
def name
  thing.name.get
end