Class Msf::Ui::Gtk2::MsfWindow::CodeView::RubyTokenizer
In: lib/msf/ui/gtk2/window/codeview.rb
Parent: Object

Pulled from ruby-gtk2 / gtk-demo (under Ruby license) Modified to work better with MSF module source

Methods

tokenize  

Constants

RESERVED_WORDS = %w(begin end module class def if then else while unless do case when require yield)
RESERVED_WORDS_PATTERN = Regexp.compile(/(^|\s+)(#{RESERVED_WORDS.collect do |pat| Regexp.quote(pat) end.join('|')})(\s+|$)/)

Public Instance methods

[Validate]