Sha256: bc62e5bad600d7debace05b1c3fe97f9e5fae52fee2e3f08b7d21ccb2a83c54a

Contents?: true

Size: 480 Bytes

Versions: 2

Compression:

Stored size: 480 Bytes

Contents

module Joybox
  module Debug

  	class ProxyView < NSView

      attr_accessor :node

      def to_s
        @node.to_s
      end

      def position
        @node.position
      end

      def position=(position)
        @node.position = position
      end

      def method_missing(method, *args, &block)
        if @node.respond_to?(method)
          @node.send(method, *args, &block)
        else
          raise NoMethodError  
        end
      end
      
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
joybox-1.1.1 motion/joybox-osx/debug/proxy_view.rb
joybox-1.1.0 motion/joybox-osx/debug/proxy_view.rb