spec/clamp/option_module_spec.rb in clamp-1.2.1 vs spec/clamp/option_module_spec.rb in clamp-1.3.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require "spec_helper" describe Clamp::Command do include OutputCapture @@ -8,10 +10,10 @@ let(:command) do shared_options = Module.new do extend Clamp::Option::Declaration - option "--size", "SIZE", :default => 4 + option "--size", "SIZE", default: 4 end command_class = Class.new(Clamp::Command) do include shared_options