Sha256: d3d2d43ebc4263ee954452031611d1c194f031e41e35b6a34e45f5f8b508d645
Contents?: true
Size: 792 Bytes
Versions: 9
Compression:
Stored size: 792 Bytes
Contents
module MxitRails class Descriptor attr_accessor :parent_descriptor attr_accessor :name attr_accessor :action attr_accessor :type attr_accessor :proceed attr_accessor :input attr_accessor :input_label attr_accessor :select attr_accessor :select_label attr_accessor :select_options attr_accessor :selected attr_accessor :multi_select attr_accessor :multi_select_next attr_accessor :numbered_list attr_accessor :has_table attr_accessor :validations_failed attr_accessor :validated def initialize name, action, parent=nil @parent_descriptor = parent @name = name.to_sym @action = action.to_sym @validations = [] @steps = [] end def form? type == :form end end end
Version data entries
9 entries across 9 versions & 1 rubygems