Sha256: 69f4605dd3a094019a41c9d1962de9969ecc66867ff2541c3f56f6164c1451b4

Contents?: true

Size: 200 Bytes

Versions: 61

Compression:

Stored size: 200 Bytes

Contents

# require "eitil_core/string/strip_base64_header"

require "eitil_store/regex/regex"

class String

  def strip_base64_header
    return self.gsub(EitilStore::Regex::LeadingBase64Data, '')
  end

end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
eitil-2.0.8 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-2.0.7 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-2.0.6 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-2.0.5 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-2.0.4 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-2.0.3 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-2.0.2 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-2.0.1 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-2.0.0 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-1.4.1 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-1.4.0 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-1.3.12 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-1.3.11 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-1.3.10 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-1.3.9 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-1.3.8 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-1.3.7 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-1.3.6 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-1.3.5 eitil_core/lib/eitil_core/string/strip_base64_header.rb
eitil-1.3.4 eitil_core/lib/eitil_core/string/strip_base64_header.rb