Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (33 sloc) 0.954 kB
# The same as the classical convention, except that directories in the module hierarchy are defined
# with `under_scores`. This helps to differentiate them as namespaces.
# ## An Example
#
# Given this project hierarchy:
#
# lib/
# things-and-baubles/
# stuff/
# moo.js
# gizmo.js
# many-doohickey.js
# fizz.js
# fizz_bam.js
#
# The exported module hierarchy will be as follows (assuming that lib/ is autorequired):
#
# {
# things_and_baubles: {
# stuff: {
# Moo: <Moo from moo.js>
# },
# Gizmo: <Gizmo from gizmo.js>
# ManyDoohickey: <ManyDoohickey from many-doohickey.js>
# },
# Fizz: <Fizz from fizz.js>
# FizzBam: <FizzBam from fizz_bam.js>
# }
Classical = require './classical'
class Ruby extends Classical
directoryToProperty: (directoryName, parentPath) ->
@underscore directoryName
module.exports = Ruby
Jump to Line
Something went wrong with that request. Please try again.