Module: Lanes::Screens

Defined in:
lib/lanes/screens.rb

Defined Under Namespace

Classes: Definition, Group

Class Method Summary collapse

Class Method Details

.each_directoryObject



8
9
10
11
12
13
# File 'lib/lanes/screens.rb', line 8

def each_directory
    root = Pathname.new(__FILE__).dirname.join('../../assets/screens')
    root.each_child do | path  |
        yield path if path.directory?
    end
end