lib/quby/compiler/dsl/questions/string_question_builder.rb in quby-compiler-0.3.1 vs lib/quby/compiler/dsl/questions/string_question_builder.rb in quby-compiler-0.3.3
- old
+ new
@@ -7,10 +7,10 @@
class StringQuestionBuilder < Base
include RegexpValidations
include Units
include Sizes
- def initialize(key, options = {}, &block)
+ def initialize(key, **options, &block)
super
@question = Entities::Questions::StringQuestion.new(key, options)
end
end
end