lib/dao/api/dsl.rb in dao-2.2.3 vs lib/dao/api/dsl.rb in dao-3.1.0

- old
+ new

@@ -17,10 +17,10 @@ def no_docs_left_on_stack! raise "no interface for #{ docs.inspect }" unless docs.empty? end - %w( interface doc docs description desc ).each do |method| + %w( interface call doc docs description desc ).each do |method| module_eval <<-__, __FILE__, __LINE__ - 1 def #{ method }(*args, &block) api.#{ method }(*args, &block) end