Class: Gio::SettingsSchemaSource

Inherits:
Object
  • Object
show all
Defined in:
lib/gio2/settings-schema-source.rb

Instance Method Summary collapse

Instance Method Details

#list_schemas(recursive_or_options = nil) ⇒ Object



21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/gio2/settings-schema-source.rb', line 21

def list_schemas(recursive_or_options=nil)
  case recursive_or_options
  when true, false
    recursive = recursive_or_options
  else
    options = recursive_or_options || {}
    recursive = options[:recursive]
    recursive = true if recursive.nil?
  end

  list_schemas_raw(recursive)
end

#list_schemas_rawObject



20
# File 'lib/gio2/settings-schema-source.rb', line 20

alias_method :list_schemas_raw, :list_schemas