Fix doc example

This commit is contained in:
Semyon Pupkov 2016-08-11 01:25:22 +03:00 committed by GitHub
parent ec592552fa
commit cac44a8357
1 changed files with 2 additions and 2 deletions

View File

@ -97,14 +97,14 @@ module Inflecto
# Find a constant with the name specified in the argument string
#
# The name is assumed to be the one of a top-level constant, constant scope of caller is igored
# The name is assumed to be the one of a top-level constant, constant scope of caller is ignored
#
# @param [String] input
#
# @example
#
# Inflecto.constantize("Module") # => Module
# Inflecto.constantize("DataMapper::Error") # => Test::Unit
# Inflecto.constantize("DataMapper::Error") # => DataMapper::Error
#
# @return [Class, Module]
#