module GoodData::Mixin::ContentPropertyReader

Public Instance Methods

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