Sha256: c55b266bca5b982a87eb797cf93650d1d8c63ab3ecfab3a9b68425cb4ed4a552
Contents?: true
Size: 265 Bytes
Versions: 3
Compression:
Stored size: 265 Bytes
Contents
# encoding: UTF-8 module GoodData module Mixin module MetaPropertyWriter def metadata_property_writer(*props) props.each do |prop| define_method "#{prop}=", proc { |val| meta[prop.to_s] = val } end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gooddata-0.6.7 | lib/gooddata/mixins/meta_property_writer.rb |
gooddata-0.6.6 | lib/gooddata/mixins/meta_property_writer.rb |
gooddata-0.6.5 | lib/gooddata/mixins/meta_property_writer.rb |