Sha256: 83b1eb5e808a2b9a7cf22eec1c169b9230a063d90b3ec3c37b7d678a59734473

Contents?: true

Size: 531 Bytes

Versions: 7

Compression:

Stored size: 531 Bytes

Contents

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

###
# wxRuby3 rake gem support
###

require_relative './lib/config'
require_relative './install'

module WXRuby3

  module Post

    def self.create_startup(code)
      File.open('lib/wx/startup.rb', 'w+') do |f|
        f.puts <<~__CODE
          # Wx startup for wxRuby3
          # Copyright (c) M.J.N. Corino, The Netherlands

          #{code}
          __CODE
      end
    end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wxruby3-0.9.7-x64-mingw-ucrt rakelib/prepost.rb
wxruby3-0.9.5-x64-mingw-ucrt rakelib/prepost.rb
wxruby3-0.9.4-x64-mingw-ucrt rakelib/prepost.rb
wxruby3-0.9.3-x64-mingw-ucrt rakelib/prepost.rb
wxruby3-0.9.2-x64-mingw-ucrt rakelib/prepost.rb
wxruby3-0.9.1-x64-mingw-ucrt rakelib/prepost.rb
wxruby3-0.9.0-x64-mingw-ucrt rakelib/prepost.rb