class Lebowski::Foundation::Views::ContainerView

Represents a proxy to a SproutCore container view (SC.ContainerView)

Public Instance Methods

empty?() click to toggle source
# File lib/lebowski/foundation/views/container.rb, line 17
def empty?()
  return self['contentView'].nil?
end
showing?(view) click to toggle source
# File lib/lebowski/foundation/views/container.rb, line 21
def showing?(view)
  if not view.kind_of? View
    raise ArgumentInvalidTypeError.new "view", view, View
  end
  
  return (view == self['contentView'])
end