class Ragel::Bitmap::Array8
Public Class Methods
new(string)
click to toggle source
# File lib/ragel/bitmap.rb, line 17 def initialize(string) @string = string end
Public Instance Methods
[](idx)
click to toggle source
# File lib/ragel/bitmap.rb, line 21 def [](idx) @string.getbyte(idx) end