Sha256: 1c70ee695f3f2de7e87e37a4bb1c91577ed0e9091bb93cb5d8087f60b7e5a76e
Contents?: true
Size: 409 Bytes
Versions: 44
Compression:
Stored size: 409 Bytes
Contents
class Appsetting < ActiveRecord::Base # FIXME: This should be done automatically include Six::Appmanager::Appsetting has_many :sixconfigs six_guid def to_updater_yml hash = Hash.new attribute_names.each do |at| i = at.to_s i = "app_#{i}" value = eval(at) hash[i.to_sym] = value unless value.nil? || value.to_s.size == 0 end hash end end
Version data entries
44 entries across 44 versions & 1 rubygems