Class: RQRCode::Export::SVG::BaseOutputSVG

Inherits:
Object
  • Object
show all
Defined in:
lib/rqrcode/export/svg.rb

Direct Known Subclasses

Path, Rect

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(qrcode) ⇒ BaseOutputSVG

Returns a new instance of BaseOutputSVG.



11
12
13
14
# File 'lib/rqrcode/export/svg.rb', line 11

def initialize(qrcode)
  @qrcode = qrcode
  @result = []
end

Instance Attribute Details

#resultObject (readonly)

Returns the value of attribute result.



9
10
11
# File 'lib/rqrcode/export/svg.rb', line 9

def result
  @result
end