class MyRendererConstCombo
this file is part of manqod manqod is distributed under the CDDL licence the author of manqod is Dobai-Pataky Balint(dpblnt@gmail.com)
Attributes
pc[RW]
Public Class Methods
new(pc)
click to toggle source
Calls superclass method
MyRendererCombo::new
# File lib/FormHolder/Form/InputHolder/ConstCombo.rb, line 8 def initialize(pc) @pc=pc item['admin']=true item['type_def']="[cdisplay:text][description:text]" if item['type_def'].length<5 item['querysql']="select cdata,cdisplay,description from scv where combo='#{item['data']}' order by cdata" super(pc) end
Public Instance Methods
to_s()
click to toggle source
# File lib/FormHolder/Form/InputHolder/ConstCombo.rb, line 17 def to_s;"ConstCombo(#{item["description"]})";end