Sha256: d2d2b93bff93ba0774b8b76b45cf945c0d7ca6b7da767ddeaf6b008a641b9d30
Contents?: true
Size: 220 Bytes
Versions: 13
Compression:
Stored size: 220 Bytes
Contents
# frozen_string_literal: true module Initializable def initialize(params = {}) params.each do |key, value| setter = "#{key}=" send(setter, value) if respond_to?(setter.to_sym, false) end end end
Version data entries
13 entries across 13 versions & 2 rubygems