module VV::StringMethods::SharedInstanceAndClassMethods

Public Instance Methods

colon() click to toggle source
# File lib/vv/string_methods.rb, line 78
def colon
  ":"
end
comma() click to toggle source
# File lib/vv/string_methods.rb, line 70
def comma
  ","
end
dash() click to toggle source
# File lib/vv/string_methods.rb, line 62
def dash
  "-"
end
empty_string() click to toggle source
# File lib/vv/string_methods.rb, line 54
def empty_string
  ""
end
equals_sign() click to toggle source
# File lib/vv/string_methods.rb, line 66
def equals_sign
  "="
end
forward_slash() click to toggle source
# File lib/vv/string_methods.rb, line 58
def forward_slash
  "/"
end
newline() click to toggle source
# File lib/vv/string_methods.rb, line 90
def newline
  "\n"
end
period() click to toggle source
# File lib/vv/string_methods.rb, line 74
def period
  "."
end
safe_filename_characters() click to toggle source

See: `safe_filename?` and `safe_path?` methods

# File lib/vv/string_methods.rb, line 95
def safe_filename_characters
  numbers    = '0-9'
  lowercase  = 'a-z'
  uppercase  = 'A-Z'

  [ dash,
    numbers,
    lowercase,
    uppercase,
    underscore_character,
    period ].join
end
space() click to toggle source
# File lib/vv/string_methods.rb, line 86
def space
  " "
end
underscore_character() click to toggle source
# File lib/vv/string_methods.rb, line 82
def underscore_character
  "_"
end