File: world_generator.rb

package info (click to toggle)
mikutter 4.1.3%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 9,260 kB
  • sloc: ruby: 20,126; sh: 183; makefile: 19
file content (20 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- coding: utf-8 -*-

module Plugin::ChangeAccount
  module WorldGenerator
    # ダイアログを生成して開く。
    # ==== Args
    # [title:] ダイアログのタイトルバーに表示する内容(String)
    # [plugin:] 呼び出し元のPluggaloid Plugin
    # ==== Return
    # 作成されたDialogのインスタンス
    def self.open(title:, plugin:)
      window = Plugin::ChangeAccount::WorldGenerator.new(plugin: plugin, title: title)
      window.show_all
      window
    end
  end
end

require_relative 'world_generator/controller'
require_relative 'world_generator/window'