Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (13 sloc) 0.214 kb
require 'etc'
module Sample
class Dir < File
attr_accessor :files
def initialize(filename)
super
@files = []
end
def <<(f)
@files << f
end
end # Dir
end # Sample
Jump to Line
Something went wrong with that request. Please try again.