class Error

Attributes

err_type[RW]
file_path[RW]
line[RW]
variable[RW]

Public Class Methods

new(line, err_type, fpath, *variable) click to toggle source

rubocop:disable Lint/UnusedMethodArgument

# File lib/classes/error.rb, line 5
def initialize(line, err_type, fpath, *variable)
  @line = line
  @err_type = err_type
  @file_path = fpath
end

Public Instance Methods

print_err(line, type, path, *variable) click to toggle source

rubocop:enable Lint/UnusedMethodArgument