Sha256: 41c9a9dba241f839da55b71d31e759ee5eadcee8622539457b08f6bc1484a03a
Contents?: true
Size: 431 Bytes
Versions: 55
Compression:
Stored size: 431 Bytes
Contents
module Para module Generators module NameHelpers def plural_namespaced_path @plural_namespaced_path ||= File.join(*class_path, plural_name) end def singular_namespaced_path @singular_namespaced_path ||= File.join(*class_path, singular_name) end def namespaced_class_name @namespaced_class_name ||= [namespace, class_name].compact.join('::') end end end end
Version data entries
55 entries across 55 versions & 1 rubygems