class BELParser::Language::Syntax::InvalidRelationshipSyntaxError

InvalidRelationshipSyntaxError indicates a relationship was invalid.

Attributes

relationship[R]

Gets the relationship literal that was invalid according to a BEL specification.

Public Class Methods

new(stmt_node, spec, relationship) click to toggle source
Calls superclass method
# File lib/bel_parser/language/syntax/invalid_relationship.rb, line 32
def initialize(stmt_node, spec, relationship)
  super(stmt_node, spec)
  @relationship = relationship
end

Public Instance Methods

msg() click to toggle source
# File lib/bel_parser/language/syntax/invalid_relationship.rb, line 37
def msg
  %(Invalid relationship "#{relationship}".)
end