Sha256: 40fb5c597f6f37d8d5bbc9e8f75bad23719e5c623424748094b9c5f740400f95
Contents?: true
Size: 139 Bytes
Versions: 6
Compression:
Stored size: 139 Bytes
Contents
module Rail module Support def self.constantize(name) const_get(name.split(/[\s_]+/).map(&:capitalize).join) end end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
rail-0.0.7 | lib/rail/support.rb |
rail-0.0.6 | lib/rail/support.rb |
rail-0.0.5 | lib/rail/support.rb |
rail-0.0.4 | lib/rail/support.rb |
rail-0.0.3 | lib/rail/support.rb |
rail-0.0.2 | lib/rail/support.rb |