Class: RepeatingGroup
- Defined in:
- lib/ez7gen/structure_parser.rb
Constant Summary
Constants included from Utils
Utils::BASE, Utils::BASE_INDICATOR, Utils::DATA_LOOKUP_MIS, Utils::PRIMARY
Instance Method Summary collapse
-
#mark(group, prnths = StructureParser::PRNTHS_REP) ⇒ Object
include Marker.
Methods inherited from Group
#initialize, #resolve, #unwrap
Methods included from Utils
#blank?, #get_name_without_base, #get_segment_name, #get_type_by_name, #has_html_encoded_ch?, #is_number?, #num_to_nil, #safe_len, #sample_index
Constructor Details
This class inherits a constructor from Group
Instance Method Details
#mark(group, prnths = StructureParser::PRNTHS_REP) ⇒ Object
include Marker
240 241 242 243 244 245 246 |
# File 'lib/ez7gen/structure_parser.rb', line 240 def mark(group, prnths=StructureParser::PRNTHS_REP) if (group.kind_of?(String)) group = Marker.mark(group, prnths) elsif(group.kind_of?(Array)) group = RepeatingGroup.new(group) end end |