Sha256: 25ad1c22e7617b8861c6b0f284b6c9c671437339372b22a48fd25a0ab9adf061

Contents?: true

Size: 201 Bytes

Versions: 2

Compression:

Stored size: 201 Bytes

Contents

module Presenting
  module Configurable
    def initialize(options = {}, &block)
      options.each do |k, v|
        self.send("#{k}=", v)
      end
      yield self if block_given?
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
presenting-2.0.0 lib/presenting/configurable.rb
presenting-1.0.0 lib/presenting/configurable.rb