Module: BELParser::Parsers::Expression::Relationship

Defined in:
lib/bel_parser/parsers/expression/relationship.rb

Defined Under Namespace

Classes: Parser

Constant Summary collapse

MAX_LENGTH =

128K

1024 * 128

Class Method Summary collapse

Class Method Details

.parse(content) ⇒ Object



23
24
25
26
27
28
29
# File 'lib/bel_parser/parsers/expression/relationship.rb', line 23

def parse(content)
  return nil unless content

  Parser.new(content).each do |obj|
    yield obj
  end
end