Sha256: 20b9df1db94fa2d27b6bd7292a5bd8238324a2ccab5c0775e5c22f5d32a67f11

Contents?: true

Size: 337 Bytes

Versions: 13

Compression:

Stored size: 337 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

13 entries across 13 versions & 1 rubygems

Version Path
wxruby3-1.3.1 lib/wx/core/standard_paths.rb
wxruby3-1.3.0 lib/wx/core/standard_paths.rb
wxruby3-1.2.1 lib/wx/core/standard_paths.rb
wxruby3-1.2.0 lib/wx/core/standard_paths.rb
wxruby3-1.1.2 lib/wx/core/standard_paths.rb
wxruby3-1.1.1 lib/wx/core/standard_paths.rb
wxruby3-1.1.0 lib/wx/core/standard_paths.rb
wxruby3-1.0.1 lib/wx/core/standard_paths.rb
wxruby3-0.9.8 lib/wx/core/standard_paths.rb
wxruby3-0.9.7 lib/wx/core/standard_paths.rb
wxruby3-0.9.5 lib/wx/core/standard_paths.rb
wxruby3-0.9.4 lib/wx/core/standard_paths.rb
wxruby3-0.9.3 lib/wx/core/standard_paths.rb