Class: ClientServerSameError
- Inherits:
-
CompilerError
- Object
- CompilerError
- ClientServerSameError
- Defined in:
- lib/compiler_error.rb
Instance Method Summary collapse
- #info ⇒ Object
-
#initialize(ast) ⇒ ClientServerSameError
constructor
A new instance of ClientServerSameError.
Methods inherited from CompilerError
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
#info ⇒ Object
175 176 177 |
# File 'lib/compiler_error.rb', line 175 def info "client and server of a direction should not be the same" end |