Sha256: e9e1c106a776b4214a3615592c0e05e6d36a6e72eafa25069947f95ec3e965f5

Contents?: true

Size: 359 Bytes

Versions: 4

Compression:

Stored size: 359 Bytes

Contents

# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.


module Wx

  class StandardPaths

    class << self

      wx_get = instance_method :get
      define_method :get do
        # cache the global singleton
        @instance ||= wx_get.bind(self).call
      end

    end

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wxruby3-0.9.7-x64-mingw-ucrt lib/wx/core/standard_paths.rb
wxruby3-0.9.5-x64-mingw-ucrt lib/wx/core/standard_paths.rb
wxruby3-0.9.4-x64-mingw-ucrt lib/wx/core/standard_paths.rb
wxruby3-0.9.3-x64-mingw-ucrt lib/wx/core/standard_paths.rb