Class: Wx::SF::ShapeCanvas::Version::VersionInfo

Inherits:
Struct
  • Object
show all
Defined in:
lib/wx/shapes/shape_canvas.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#majorObject

Returns the value of attribute major

Returns:

  • (Object)

    the current value of major



334
335
336
# File 'lib/wx/shapes/shape_canvas.rb', line 334

def major
  @major
end

#minorObject

Returns the value of attribute minor

Returns:

  • (Object)

    the current value of minor



334
335
336
# File 'lib/wx/shapes/shape_canvas.rb', line 334

def minor
  @minor
end

#releaseObject

Returns the value of attribute release

Returns:

  • (Object)

    the current value of release



334
335
336
# File 'lib/wx/shapes/shape_canvas.rb', line 334

def release
  @release
end

Instance Method Details

#to_sObject



335
336
337
# File 'lib/wx/shapes/shape_canvas.rb', line 335

def to_s
  "#{major}.#{minor}.#{release}"
end