# File lib/flagable.rb, line 55 def flaglinkid(flag) return self.class.to_s.gsub("::","_") + "_" + self.id.to_s + "_flag_"+flag.to_s end
# File lib/flagable.rb, line 50 def get_flag(flag) v= @obj.send("flag_"+flag.to_s) if @obj.respond_to?("flag_"+flag.to_s) v= false if v.nil? v end
[Validate]
Generated with the Darkfish Rdoc Generator 2.