Sha256: 34e18119d13fe67b4d01cdfe7bd3478ed98665d286e6e2e24b12b81ac3947d62

Contents?: true

Size: 480 Bytes

Versions: 2

Compression:

Stored size: 480 Bytes

Contents

module Joybox
  module Debug

  	class ProxyView < UIView

      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-ios/debug/proxy_view.rb
joybox-1.1.0 motion/joybox-ios/debug/proxy_view.rb