namarara/lib/mm2ep_depend/eval_error.rb
2017-09-15 12:52:29 +02:00

17 lines
316 B
Ruby

module Mm2ep
module Depend
class EvalError
attr_accessor :var
attr_accessor :message
def initialize(hash)
# validate input
raise ArgumentError unless hash[:message]
# load input
@message = hash[:message]
@var = hash[:var]
end
end
end
end