lib/amber_component/props.rb in amber_component-0.0.5 vs lib/amber_component/props.rb in amber_component-1.0.0
- old
+ new
@@ -73,10 +73,10 @@
# Instance methods for component properties.
module InstanceMethods
private
- # @param props [Hash{Symbol => Object}]
+ # @param kwargs [Hash{Symbol => Object}]
def initialize(**kwargs)
bind_props(kwargs)
end
# @param props [Hash{Symbol => Object}]