Sha256: e891fa2f6d84a07cf63a85742a51486b94fe06f350cd89ea0002726b9576396d

Contents?: true

Size: 189 Bytes

Versions: 3

Compression:

Stored size: 189 Bytes

Contents

module SVGen
  module Element
    class Line
      def initialize(attrs = {})
        @attrs = attrs
      end

      def generate(svg)
        svg.line(@attrs)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
svgen-0.1.1 lib/svgen/element/line.rb
svgen-0.1.0 lib/svgen/element/line.rb
svgen-0.0.3 lib/svgen/element/line.rb