Sha256: ead3d4ce2f16d461820adc52502d367323b5755a0092019c2424fd61562fdbbe

Contents?: true

Size: 502 Bytes

Versions: 16

Compression:

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

16 entries across 16 versions & 1 rubygems

Version Path
wxruby3-1.3.1 rakelib/prepost.rb
wxruby3-1.3.0 rakelib/prepost.rb
wxruby3-1.2.1 rakelib/prepost.rb
wxruby3-1.2.0 rakelib/prepost.rb
wxruby3-1.1.2 rakelib/prepost.rb
wxruby3-1.1.1 rakelib/prepost.rb
wxruby3-1.1.0 rakelib/prepost.rb
wxruby3-1.0.1 rakelib/prepost.rb
wxruby3-0.9.8 rakelib/prepost.rb
wxruby3-0.9.7 rakelib/prepost.rb
wxruby3-0.9.5 rakelib/prepost.rb
wxruby3-0.9.4 rakelib/prepost.rb
wxruby3-0.9.3 rakelib/prepost.rb
wxruby3-0.9.2 rakelib/prepost.rb
wxruby3-0.9.1 rakelib/prepost.rb
wxruby3-0.9.0 rakelib/prepost.rb