Sha256: e17ebf0befead1b49ea5eb453f53278c4b6014c025149716e5f8a9f5362044af

Contents?: true

Size: 413 Bytes

Versions: 5

Compression:

Stored size: 413 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::PenInfo

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

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wxruby3-1.5.1 lib/wx/core/pen_info.rb
wxruby3-1.5.0 lib/wx/core/pen_info.rb
wxruby3-1.4.2 lib/wx/core/pen_info.rb
wxruby3-1.4.1 lib/wx/core/pen_info.rb
wxruby3-1.4.0 lib/wx/core/pen_info.rb