Class: Gtk::Entry

Inherits:
Object
  • Object
show all
Defined in:
lib/alexandria/ui/provider_preferences_base_dialog.rb

Overview

This file is part of Alexandria.

See the file README.md for authorship and licensing information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#mandatory=(value) ⇒ Object (writeonly)

Sets the attribute mandatory

Parameters:

  • value

    the value to set the attribute mandatory to.



8
9
10
# File 'lib/alexandria/ui/provider_preferences_base_dialog.rb', line 8

def mandatory=(value)
  @mandatory = value
end

Instance Method Details

#mandatory?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/alexandria/ui/provider_preferences_base_dialog.rb', line 10

def mandatory?
  @mandatory
end