Module: EmberRoutes

Defined in:
lib/ember_routes.rb,
lib/ember_routes/route.rb,
lib/ember_routes/config.rb,
lib/ember_routes/version.rb,
lib/ember_routes/generator.rb,
lib/ember_route_helpers/route.rb,
lib/ember_routes/path_helpers.rb

Defined Under Namespace

Modules: PathHelpers Classes: Config, Generator, Route

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.configure {|c| ... } ⇒ Object

Yields:

  • (c)


7
8
9
10
11
12
13
# File 'lib/ember_routes.rb', line 7

def self.configure
  c = Config.new
  yield c
  gen = Generator.new(c, PathHelpers)
  gen.generate
  c
end