Module: XRC2Ruby

Defined in:
lib/wx_sugar/xrc/xrc2ruby.rb

Overview

container module

Defined Under Namespace

Modules: ObjectTypes Classes: Parser

Class Method Summary collapse

Class Method Details

.use_gettextObject

Whether the ruby code output should include hooks for ruby-gettext, used for internationalisation of applications.



5
6
7
# File 'lib/wx_sugar/xrc/xrc2ruby.rb', line 5

def self.use_gettext
  @gettext
end

.use_gettext=(gettext) ⇒ Object

Sets whether gettext hooks should be included.



10
11
12
# File 'lib/wx_sugar/xrc/xrc2ruby.rb', line 10

def self.use_gettext=(gettext)
  @gettext = gettext
end