lib/yardview/application_window.rb in yardview_gtk3-0.4.1 vs lib/yardview/application_window.rb in yardview_gtk3-0.4.2

- old
+ new

@@ -1,18 +1,18 @@ # frozen_string_literal: true require 'gtk3' -module Yardview +module YardView class ApplicationWindow < Gtk::ApplicationWindow type_register def self.init set_template resource: '/com/github/kojix2/yardview/yardview.ui' bind_template_child 'box' set_connect_func do |handler_name| lambda do - Yardview.application.active_window.__send__(handler_name) + YardView.application.active_window.__send__(handler_name) end end end attr_accessor :port