Sha256: 0a323905f09f13b70a422517a4528b794cfdddee4c89cf0ac221b52f8b3bb579
Contents?: true
Size: 447 Bytes
Versions: 2
Compression:
Stored size: 447 Bytes
Contents
module Lotus module Commands class Routes def initialize(environment) @environment = environment @environment.require_application_environment end def start puts app.routes.inspector.to_s end private def app if @environment.container? Lotus::Container.new else Lotus::Application.applications.first.new end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lotusrb-0.5.0 | lib/lotus/commands/routes.rb |
lotusrb-0.4.1 | lib/lotus/commands/routes.rb |