class Svnx::StringUtil
Public Class Methods
with_dashes(x)
click to toggle source
# File lib/svnx/util/strutil.rb, line 7 def with_dashes x x.to_s.gsub "_", "-" end
with_underscores(x)
click to toggle source
# File lib/svnx/util/strutil.rb, line 11 def with_underscores x x.to_s.gsub "-", "_" end
Public Instance Methods
to_boolean()
click to toggle source
# File lib/svnx/util/strutil.rb, line 16 def to_boolean downcase == "true" end