# File lib/facet/module/by_name.rb, line 37 def by_name(name) result = Object.constant(name) return result if result.kind_of?( Module ) raise ArgumentError, "#{name} is not a module or class" end