Sha256: fe54d5be02611edc5bac5c8e196c37517b6b7facb9965aa24ca40f77d4458f67

Contents?: true

Size: 424 Bytes

Versions: 8

Compression:

Stored size: 424 Bytes

Contents

# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.
# 
# Some parts are
# Copyright 2004-2007, wxRuby development team
# released under the MIT-like wxRuby2 license

class Wx::GraphicsPenInfo

  # make Wx::GraphicsPenInfo#dashes return self
  wx_dashes = instance_method :dashes
  define_method :dashes do |*args|
    wx_dashes.bind(self).call(*args)
    self
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wxruby3-1.3.1 lib/wx/core/graphics_pen_info.rb
wxruby3-1.3.0 lib/wx/core/graphics_pen_info.rb
wxruby3-1.2.1 lib/wx/core/graphics_pen_info.rb
wxruby3-1.2.0 lib/wx/core/graphics_pen_info.rb
wxruby3-1.1.2 lib/wx/core/graphics_pen_info.rb
wxruby3-1.1.1 lib/wx/core/graphics_pen_info.rb
wxruby3-1.1.0 lib/wx/core/graphics_pen_info.rb
wxruby3-1.0.1 lib/wx/core/graphics_pen_info.rb