lib/x12/field.rb in pd_x12-1.4.8 vs lib/x12/field.rb in pd_x12-1.5.0
- old
+ new
@@ -20,14 +20,14 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#++
#
module X12
-
- # $Id: Field.rb 90 2009-05-13 19:51:27Z ikk $
+
#
# Class to represent a segment field. Please note, it's not a descendant of Base.
-
+ #
+
class Field
attr_reader :name, :type, :required, :min_length, :max_length, :validation
attr_writer :content
# Create a new field with given parameters