class Plugin::ChangeAccount::WorldGenerator::Controller

Public Class Methods

new(plugin) click to toggle source
Calls superclass method Gtk::FormDSL.new
# File core/plugin/change_account/world_generator/controller.rb, line 9
def initialize(plugin)
  super()
  @plugin = plugin
  @values = Hash.new
  if block_given?
    instance_eval(&Proc.new)
  end
end

Public Instance Methods

[](key) click to toggle source
# File core/plugin/change_account/world_generator/controller.rb, line 18
def [](key)
  @values[key.to_sym]
end
[]=(key, value) click to toggle source
# File core/plugin/change_account/world_generator/controller.rb, line 22
def []=(key, value)
  @values[key.to_sym] = value
end
create_inner_setting() click to toggle source
# File core/plugin/change_account/world_generator/controller.rb, line 5
def create_inner_setting
  self.class.new(@plugin)
end
method_missing(*args, &block) click to toggle source
# File core/plugin/change_account/world_generator/controller.rb, line 34
def method_missing(*args, &block)
  @plugin.__send__(*args, &block)
end
method_missing_at_select_dsl(*args, &block) click to toggle source
# File core/plugin/change_account/world_generator/controller.rb, line 30
def method_missing_at_select_dsl(*args, &block)
  @plugin.__send__(*args, &block)
end
to_h() click to toggle source
# File core/plugin/change_account/world_generator/controller.rb, line 26
def to_h
  @values.dup
end