4 class GenerationError < RuntimeError; end
7 raise GenerationError, "#{self.class} does not support cerb"
16 unless @arguments.kind_of? Array
17 raise GenerationError, "Direct arguments are the only support type"
20 args = @arguments.map { |a| a.to_cerb(e) }
31 "#{@method}(#{collapse_args(e)}"