class Plugin::Gtk::DialogWindow::Response::Base

Attributes

result[R]

Public Class Methods

new(values) click to toggle source
# File core/plugin/gtk/dialog_window.rb, line 102
def initialize(values)
  @values = values.to_h.freeze
  @result = values.result_of_proc
end

Public Instance Methods

[](k) click to toggle source
# File core/plugin/gtk/dialog_window.rb, line 107
def [](k)
  @values[k.to_sym]
end
to_h() click to toggle source
# File core/plugin/gtk/dialog_window.rb, line 111
def to_h
  @values.to_h
end