Sha256: 1b42ed2cb14502a52873e1241daebe4811941204fdd42a561c6567ca446a5897

Contents?: true

Size: 343 Bytes

Versions: 8

Compression:

Stored size: 343 Bytes

Contents

require "gm/notepad/version"
require 'gm/notepad/config'
require "gm/notepad/app"
module Gm
  module Notepad
    def self.new(finalize: false, **config_parameters)
      config_parameters.each_pair do |key, value|
        Config.config.public_send("#{key}=", value)
      end
      Config.finalize! if finalize
      App.new
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gm-notepad-0.0.18 lib/gm/notepad.rb
gm-notepad-0.0.17 lib/gm/notepad.rb
gm-notepad-0.0.16 lib/gm/notepad.rb
gm-notepad-0.0.15 lib/gm/notepad.rb
gm-notepad-0.0.14 lib/gm/notepad.rb
gm-notepad-0.0.13 lib/gm/notepad.rb
gm-notepad-0.0.12 lib/gm/notepad.rb
gm-notepad-0.0.11 lib/gm/notepad.rb