Module: BeerDbAdmin
- Defined in:
- lib/beerdb/admin.rb,
lib/beerdb/admin/engine.rb,
lib/beerdb/admin/version.rb,
app/helpers/beer_db_admin/link_helper.rb,
app/helpers/beer_db_admin/part_helper.rb,
app/helpers/beer_db_admin/routes_helper.rb,
app/helpers/beer_db_admin/service_helper.rb,
app/helpers/beer_db_admin/application_helper.rb,
app/controllers/beer_db_admin/tags_controller.rb,
app/controllers/beer_db_admin/beers_controller.rb,
app/controllers/beer_db_admin/pages_controller.rb,
app/controllers/beer_db_admin/brands_controller.rb,
app/controllers/beer_db_admin/cities_controller.rb,
app/controllers/beer_db_admin/regions_controller.rb,
app/controllers/beer_db_admin/breweries_controller.rb,
app/controllers/beer_db_admin/countries_controller.rb,
app/controllers/beer_db_admin/beer_db_admin_controller.rb
Defined Under Namespace
Modules: ApplicationHelper, LinkHelper, PartHelper, RoutesHelper, ServiceHelper Classes: BeerDbAdminController, BeersController, BrandsController, BreweriesController, CitiesController, CountriesController, Engine, PagesController, RegionsController, TagsController
Constant Summary collapse
- VERSION =
'0.1.2'
Class Method Summary collapse
- .banner ⇒ Object
-
.root ⇒ Object
cut off folders lib(#1)/sportdb(#2) to get to root.
Class Method Details
.banner ⇒ Object
7 8 9 |
# File 'lib/beerdb/admin.rb', line 7 def self. "beerdb-admin/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]" end |
.root ⇒ Object
cut off folders lib(#1)/sportdb(#2) to get to root
12 13 14 |
# File 'lib/beerdb/admin.rb', line 12 def self.root "#{File.( File.dirname(File.dirname(File.dirname(__FILE__))) )}" end |