Sha256: 106057244a8bfa27aa5b444d1ba99a0bbda17bcd5904059d7331f1438c3f6794
Contents?: true
Size: 299 Bytes
Versions: 7
Compression:
Stored size: 299 Bytes
Contents
module Stamina class RegLang module Symbol include Node def to_fa!(fa) from, to = fa.add_n_states(2, :initial => false, :accepting => false) fa.connect(from, to, to_s) [from, to] end end # module Symbol end # class RegLang end # module Stamina
Version data entries
7 entries across 7 versions & 1 rubygems