Sha256: dda1862154655bd343c8bbdae008f7393e73e621d168d20ef3149bd440f07e92

Contents?: true

Size: 365 Bytes

Versions: 4

Compression:

Stored size: 365 Bytes

Contents

class Shoes
  module Swt
    module Common
      # Behavior for elements that act as children of other elements
      module Child
        # Finds the current app by asking parent elements, all the way
        # up to the App
        #
        # @return [Shoes::Swt::App] The current app
        def app
          parent.app
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
shoes-swt-4.0.0.pre4 lib/shoes/swt/common/child.rb
shoes-swt-4.0.0.pre3 lib/shoes/swt/common/child.rb
shoes-swt-4.0.0.pre2 lib/shoes/swt/common/child.rb
shoes-4.0.0.pre1 lib/shoes/swt/common/child.rb