class Gtk::MessagePicker::PickCondition

Public Class Methods

new(conditions = DEFAULT_CONDITION, *args, &block) click to toggle source
Calls superclass method
# File core/mui/gtk_message_picker.rb, line 92
def initialize(conditions = DEFAULT_CONDITION, *args, &block)
  super(*args)
  @changed_hook = block
  @condition, @subject, @expr = *conditions.to_a
  build
end

Public Instance Methods

to_a() click to toggle source
# File core/mui/gtk_message_picker.rb, line 99
def to_a
  [@condition, @subject, @expr].freeze end