51 52 53 54 55
# File 'lib/generators/pulitzer/post_type_generator.rb', line 51 def build_post_type_files abort("Couldn't find Pulitzer::PostType named #{post_type_name}") unless post_type.is_a? Pulitzer::PostType kind_method = "build_#{kind}" send kind_method end