class String

Constants

EXT_CLASS_MAP

Public Class Methods

get_all_xtypes() click to toggle source
# File lib/extjsml/ext_util.rb, line 109
def self.get_all_xtypes
  EXT_CLASS_MAP.keys 
end

Public Instance Methods

capitalize() click to toggle source
# File lib/extjsml/ext_util.rb, line 117
def capitalize
  self[0].upcase + self[1..-1]
end
to_extclassname() click to toggle source
# File lib/extjsml/ext_util.rb, line 113
def to_extclassname
  EXT_CLASS_MAP[self.to_sym]
end
to_storeid(delimeter = '-') click to toggle source
# File lib/extjsml/ext_util.rb, line 121
def to_storeid(delimeter = '-')
  sid = self.split(delimeter)
  temp = sid[1..-1]
  fword = sid[0];
  temp.each do |el|
    fword += (el[0].upcase + el[1..-1])
  end
  
  fword
end