Sha256: 0b18529076650db8b53d526bb041bcea2f344c7ac1f0199cb3e7c0a7d6049937

Contents?: true

Size: 419 Bytes

Versions: 2

Compression:

Stored size: 419 Bytes

Contents

module WhirledPeas
  module Graphics
    class Painter
      attr_reader :name, :settings

      def initialize(name, settings)
        @settings = settings
        @name = name
      end

      def paint(canvas, left, top, &block)
      end

      def dimensions
      end

      def inspect
        "#{self.class.name.split('::').last}(name=#{name.inspect})"
      end
    end
    private_constant :Painter
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whirled_peas-0.7.1 lib/whirled_peas/graphics/painter.rb
whirled_peas-0.7.0 lib/whirled_peas/graphics/painter.rb