namarara/lib/mm2ep_depend/eval_error.rb
2017-09-14 15:36:59 +02:00

18 lines
317 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