namarara/lib/mm2ep_depend/eval_error.rb

19 lines
317 B
Ruby
Raw Normal View History

2017-09-14 13:36:59 +00:00
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