Class: ClientServerSameError

Inherits:
CompilerError show all
Defined in:
lib/compiler_error.rb

Instance Method Summary collapse

Methods inherited from CompilerError

#to_s

Constructor Details

#initialize(ast) ⇒ ClientServerSameError

Returns a new instance of ClientServerSameError.



171
172
173
# File 'lib/compiler_error.rb', line 171

def initialize ast
  super ast.position
end

Instance Method Details

#infoObject



175
176
177
# File 'lib/compiler_error.rb', line 175

def info
  "client and server of a direction should not be the same"
end