Sha256: 410de5f3726166820eba68d213bae8b1deeb47de19d8682216a6469e274c9248

Contents?: true

Size: 333 Bytes

Versions: 4

Compression:

Stored size: 333 Bytes

Contents

require 'conquer/dzen/graphics/rectangle'

module Conquer
  module Dzen
    module Graphics
      class Circle < Graphic
        attr_reader :radius

        def initialize(radius)
          super()
          @radius = radius
          @template = '^c(%d)'
          @template_args = [radius]
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
conquer-dzen-0.1.3 lib/conquer/dzen/graphics/circle.rb
conquer-dzen-0.1.2 lib/conquer/dzen/graphics/circle.rb
conquer-dzen-0.1.1 lib/conquer/dzen/graphics/circle.rb
conquer-dzen-0.1.0 lib/conquer/dzen/graphics/circle.rb