Anonymous user
Append a record to the end of a text file: Difference between revisions
Append a record to the end of a text file (view source)
Revision as of 04:03, 15 March 2015
, 9 years ago→{{header|Ruby}}: deletes an unnecessary code.
(typo) |
(→{{header|Ruby}}: deletes an unnecessary code.) |
||
Line 1,225:
class Gecos
def to_s
"%s,%s,%s,%s,%s" %
end
end
Line 1,232:
Passwd = Struct.new(:account, :password, :uid, :gid, :gecos, :directory, :shell) do
def to_s
to_a
end
end
|