lib/libvirt-ruby/exceptions/invalid_function.rb in libvirt-ruby-1.0.2 vs lib/libvirt-ruby/exceptions/invalid_function.rb in libvirt-ruby-2.0.0

- old
+ new

@@ -1,11 +1,9 @@ module Libvirt - module Ruby - module Exceptions - class InvalidFunction < StandardError - def initialize(function) - super("The function '#{function}' could not be found. Is it correct?") - end + module Exceptions + class InvalidFunction < StandardError + def initialize(function) + super("The function '#{function}' could not be found. Is it correct?") end end end end \ No newline at end of file