lib/clamp/subcommand/definition.rb in clamp-1.0.1 vs lib/clamp/subcommand/definition.rb in clamp-1.1.0

- old
+ new

@@ -1,8 +1,8 @@ module Clamp module Subcommand - class Definition < Struct.new(:name, :description, :subcommand_class) + Definition = Struct.new(:name, :description, :subcommand_class) do def initialize(names, description, subcommand_class) @names = Array(names) @description = description @subcommand_class = subcommand_class