Top Level Namespace

Includes:
Knj

Defined Under Namespace

Modules: Erubis, GLib, Gdk, GetText, Gtk, Net, ParseDate, Ping, REXML, SOAP, TMail Classes: Appserver_cli, Dictionary, ERuby, Fixnum, GladeXML, Knj, KnjController, KnjEruby, MainWindow, Mutex, Object, QtLoader, QtWindow, String, Symbol, TestWindow, TreeViewColumns, WinAppEdit

Constant Summary collapse

RealGtk =

Hack Gtk

Gtk
RealGdk =

Hack Gdk

Module.const_get("Gdk")

Constants included from Knj

Knj::CONFIG, Knj::REQUIRE_INFO

Instance Method Summary collapse

Methods included from Knj

appserver_cli, const_missing, dirname, gem_require, handle_return, knjrbfw_path, p

Instance Method Details

#_(key) ⇒ Object

This method is used to make gettext work.



189
190
191
# File 'lib/knj/rhodes/rhodes.rb', line 189

def _(key)
  return $rhodes._(key)
end

#_dbObject



26
27
28
# File 'lib/knj/includes/appserver_cli.rb', line 26

def _db
  return $db
end

#_kasObject



22
23
24
# File 'lib/knj/includes/appserver_cli.rb', line 22

def _kas
  return Appserver_cli
end

#_obObject



30
31
32
# File 'lib/knj/includes/appserver_cli.rb', line 30

def _ob
  return $ob
end

#_sessionObject

This method is used to emulate web-behavior and make Knj::Locales.number_out and friends work properly.



184
185
186
# File 'lib/knj/rhodes/rhodes.rb', line 184

def _session
  return {:locale => $rhodes.locale}
end