Class: Yoda::Parsing::CommentTokenizer

Inherits:
Object
  • Object
show all
Defined in:
lib/yoda/parsing/comment_tokenizer.rb

Defined Under Namespace

Classes: Generator, Sequence, Text, Tokenizer

Instance Method Summary collapse

Instance Method Details

#parse(str) ⇒ Array<Sequence, String>

Returns:



7
8
9
# File 'lib/yoda/parsing/comment_tokenizer.rb', line 7

def parse(str)
  Generator.new.apply(Tokenizer.new.parse(str))
end