class String

Constants

VERBOTENE_ZEICHEN

Public Instance Methods

style(st) click to toggle source
# File lib/filechooser/highline-module.rb, line 9
def style(st) # to simplify the use of Highline Color Scheme ( " in string st is being protected)
     a="<%= color(\""
     b=self.gsub('"','\"')
     c="\""+", #{st})%>"
     return a+b+c
end
verboten?() click to toggle source
# File lib/filechooser/string-class.rb, line 7
def verboten?
VERBOTENE_ZEICHEN.each{|z| return true if self.index(z)}
return false
end