def insert_into_view *args, &block
      begin
        file_name = view_file_name(args)
        debug "file insertion (view): #{file_name}"
        options = last_option args
        raise ArgumentError, ":before or :after option must be specified for insertion" if !(options[:before] || options[:after])
        File.insert_into file_name, options, &block
        true
      rescue
        nil
      end
    end
def insert_into_view *args, &block
      begin
        file_name = view_file_name(args)
        debug "file insertion (view): #{file_name}"
        options = last_option args
        raise ArgumentError, ":before or :after option must be specified for insertion" if !(options[:before] || options[:after])
        File.insert_into file_name, options, &block
        true
      rescue
        nil
      end
    end
UPDATE