Class ExtStr
In: lib/svengali/ext_string.rb
Parent: Object

manages externarized strings on YAML files

Methods

cmd   init   path  

Public Class methods

[Source]

# File lib/svengali/ext_string.rb, line 16
  def self.cmd()
    unless @@command_accessor && @@path_accessor
      self.init()
    end

    return @@command_accessor
  end

[Source]

# File lib/svengali/ext_string.rb, line 24
  def self.init()
    @@command_accessor = ExtStrAccessor.new(File::dirname(__FILE__) + "/ext_string/command.yml",$platform_name)
    @@path_accessor = ExtStrAccessor.new( File::dirname(__FILE__) + "/ext_string/path.yml",$platform_name)
  end

[Source]

# File lib/svengali/ext_string.rb, line 8
  def self.path()
    unless @@command_accessor && @@path_accessor
      self.init()
    end

    return @@path_accessor
  end

[Validate]