lib/convenient_service/support/copyable.rb in convenient_service-0.1.0 vs lib/convenient_service/support/copyable.rb in convenient_service-0.2.0

- old
+ new

@@ -13,11 +13,12 @@ # copy = person.copy(overrides: {args: ['Jane']}) # copy = person.copy(overrides: {args: {0 => 'Jane'}}) # copy = person.copy(overrides: {kwargs: {age: 18}}) # copy = person.copy(overrides: {block: proc { |p| print p }}) # - # NOTE: Inline logic instead of private methods is used intentionally in order to NOT pollute the public interface. - # NOTE: This method is NOT likely to be ever changed, that is why inline logic is preferred over command classes in this particular case. + # @internal + # NOTE: Inline logic instead of private methods is used intentionally in order to NOT pollute the public interface. + # NOTE: This method is NOT likely to be ever changed, that is why inline logic is preferred over command classes in this particular case. # def copy(overrides: {}) overrides[:args] ||= {} overrides[:kwargs] ||= {}