class OmniFocus::Thingy

Attributes

omnifocus[RW]
thing[RW]

Public Class Methods

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

Public Instance Methods

active() click to toggle source
# File lib/omnifocus.rb, line 780
def active
  its.completed.eq(false)
end
id() click to toggle source
# File lib/omnifocus.rb, line 793
def id
  thing.id_.get
end
inspect() click to toggle source
# File lib/omnifocus.rb, line 797
def inspect
  "#{self.class}[#{self.id}]"
end
method_missing(m, *a) click to toggle source
# File lib/omnifocus.rb, line 784
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 789
def name
  thing.name.get
end