Module: ODDB::Export

Defined in:
lib/oddb/export/csv.rb,
lib/oddb/export/rss.rb,
lib/oddb/export/xls.rb,
lib/oddb/export/yaml.rb,
lib/oddb/export/server.rb,
lib/oddb/export/l10n_sessions.rb

Defined Under Namespace

Modules: Csv, Rss, Server, Xls, Yaml Classes: SessionStub

Class Method Summary collapse

Class Method Details

.l10n_sessions(&block) ⇒ Object



21
22
23
24
25
26
27
28
# File 'lib/oddb/export/l10n_sessions.rb', line 21

def Export.l10n_sessions(&block)
  stub = SessionStub.new
  Html::Util::Lookandfeel::DICTIONARIES.each_key { |lang|
    stub.language = lang
    stub.lookandfeel = Html::Util::Lookandfeel.new(stub)
    block.call(stub)
  }
end