Module: Ragel::Bitmap

Defined in:
lib/ragel/bitmap.rb,
lib/ragel/bitmap/replace.rb,
lib/ragel/bitmap/version.rb

Defined Under Namespace

Classes: Array16, Array24, Array32, Array32Offset, Array64Offset, Array8, ArrayGeneric, Replace

Constant Summary collapse

VERSION =
'0.2.2'

Class Method Summary collapse

Class Method Details

.replace(filepath) ⇒ Object



101
102
103
104
105
# File 'lib/ragel/bitmap.rb', line 101

def self.replace(filepath)
  require 'ragel/bitmap/replace'

  File.write(filepath, Replace.replace(File.read(filepath)))
end