Sha256: 5f49d745117a713a84b1ff2a05bafce918bb092a9550b68ed6f3d07987ce88b4
Contents?: true
Size: 444 Bytes
Versions: 21
Compression:
Stored size: 444 Bytes
Contents
module SurveyParser class Validation < SurveyParser::Base # Context, Conditional, Children attr_accessor :id, :answer_id, :parser attr_accessor :rule, :message has_children :validation_conditions def default_options {:rule => "A"} end def parse_args(args) args[0] || {} end def parse_opts(opts) {} # toss the method name and reference identifier by default end end end
Version data entries
21 entries across 21 versions & 3 rubygems