module GoodData::Mixin::ContentPropertyWriter

Public Instance Methods

content_property_writer(*props) click to toggle source
# File lib/gooddata/mixins/content_property_writer.rb, line 10
def content_property_writer(*props)
  props.each do |prop|
    define_method "#{prop}=", proc { |val| content[prop.to_s] = val }
  end
end