lib/ninsho/routes_drawer.rb in ninsho-0.0.1 vs lib/ninsho/routes_drawer.rb in ninsho-0.0.2
- old
+ new
@@ -1,9 +1,11 @@
module Ninsho
# Responsible for handling ninsho mappings and routes configuration
# The required value in ninsho_on is actually not used internally, but it's
# inflected to find all other values.
#
+ # routes_drawer.to #=> Authentication
+ #
class RoutesDrawer #:nodoc:
attr_reader :singular_name, :klass, :resource
def initialize(name)
@resource = name.to_s