ACK to series
On 28/11/11 14:52, [email protected] wrote:
> From: Michal Fojtik <[email protected]>
>
>
> Signed-off-by: Michal fojtik <[email protected]>
> ---
> server/lib/deltacloud/base_driver/base_driver.rb | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/server/lib/deltacloud/base_driver/base_driver.rb
> b/server/lib/deltacloud/base_driver/base_driver.rb
> index 931ef5c..68003ed 100644
> --- a/server/lib/deltacloud/base_driver/base_driver.rb
> +++ b/server/lib/deltacloud/base_driver/base_driver.rb
> @@ -22,6 +22,10 @@ module Deltacloud
>
> include ExceptionHandler
>
> + def name
> + self.class.name.split('::').last.gsub('Driver', '').downcase
> + end
> +
> def self.exceptions(&block)
> ExceptionHandler::exceptions(&block)
> end