Sha256: 7e028179460818f07bc85df0464d3e39dfaabc8faa4fb31ad56f5e65693212ff
Contents?: true
Size: 293 Bytes
Versions: 13
Compression:
Stored size: 293 Bytes
Contents
# encoding: UTF-8 require_relative 'data_getter' module GoodData module Mixin module DataPropertyWriter def data_property_writer(*props) props.each do |prop| define_method "#{prop}=", proc { |val| data[prop.to_s] = val } end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems