lib/vedeu/repository/command.rb in vedeu-0.0.19 vs lib/vedeu/repository/command.rb in vedeu-0.0.20
- old
+ new
@@ -28,10 +28,11 @@
def executable
proc { |*args| attributes[:klass].dispatch(*args) }
end
end
+ # :nocov:
module ClassMethods
def command(name, klass, options = {})
command_name = name.is_a?(Symbol) ? name.to_s : name
Command.create({ name: command_name, klass: klass, options: options })
@@ -39,6 +40,7 @@
end
def self.included(receiver)
receiver.extend(ClassMethods)
end
+ # :nocov:
end