module RuboCop::Schema::KeywordInitPatch
Support for Ruby 2.4
Public Class Methods
new(**attrs)
click to toggle source
Calls superclass method
# File lib/rubocop/schema/value_objects.rb, line 26 def initialize(**attrs) super *self.class.members.map { |k| attrs[k] } end