# File lib/dm-core/model/is.rb, line 19 def is(plugin, *args, &block) generator_method = "is_#{plugin}".to_sym if respond_to?(generator_method) send(generator_method, *args, &block) else raise PluginNotFoundError, "could not find plugin named #{plugin}" end end